From 9225869146350dc4588fd193e86a53d56927bafc Mon Sep 17 00:00:00 2001 From: Robert Whitney Date: Fri, 15 Dec 2017 15:57:38 -0600 Subject: [PATCH] allow / in nicknames --- lib/parse_message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/parse_message.js b/lib/parse_message.js index 698c6388..731eae8f 100644 --- a/lib/parse_message.js +++ b/lib/parse_message.js @@ -23,7 +23,7 @@ module.exports = function parseMessage(line, stripColors) { if (match) { message.prefix = match[1]; line = line.replace(/^:[^ ]+ +/, ''); - match = message.prefix.match(/^([_a-zA-Z0-9\~\[\]\\`^{}|-]*)(!([^@]+)@(.*))?$/); + match = message.prefix.match(/^([_a-zA-Z0-9\~\[\]\\\/`^{}|-]*)(!([^@]+)@(.*))?$/); if (match) { message.nick = match[1]; message.user = match[3];