Skip to content

Commit 34c113d

Browse files
authored
Allow / in nicknames
Original patch from martynsmith#527
1 parent 4a1dc28 commit 34c113d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parse_message.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = function parseMessage(line, stripColors) {
2323
if (match) {
2424
message.prefix = match[1];
2525
line = line.replace(/^:[^ ]+ +/, '');
26-
match = message.prefix.match(/^([_a-zA-Z0-9\~\[\]\\`^{}|-]*)(!([^@]+)@(.*))?$/);
26+
match = message.prefix.match(/^([_a-zA-Z0-9\~\[\]\\\/`^{}|-]*)(!([^@]+)@(.*))?$/);
2727
if (match) {
2828
message.nick = match[1];
2929
message.user = match[3];

0 commit comments

Comments
 (0)