From 5973d01c35c2bd51d0c7f5c1b185312e4bcc6c6b Mon Sep 17 00:00:00 2001 From: Darren Date: Mon, 8 Apr 2013 17:03:47 +0100 Subject: [PATCH] / char allowed in the username for ZNC multi servers --- server/irc/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/irc/connection.js b/server/irc/connection.js index e6ba18a..c392cac 100644 --- a/server/irc/connection.js +++ b/server/irc/connection.js @@ -41,7 +41,7 @@ var IrcConnection = function (hostname, port, ssl, nick, user, pass, state) { // User information this.nick = nick; this.user = user; // Contains users real hostname and address - this.username = this.nick.replace(/[^0-9a-zA-Z\-_.]/, ''); + this.username = this.nick.replace(/[^0-9a-zA-Z\-_.\/]/, ''); this.password = pass; // State object -- 2.25.1