From 44bf687c4d4ce9f6f5b65ef145d2affa77cb9a17 Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 7 Apr 2013 15:52:15 +0100 Subject: [PATCH] Allowing * in nicks for ZNC *status nick --- 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 d4f1a03..e6ba18a 100644 --- a/server/irc/connection.js +++ b/server/irc/connection.js @@ -396,7 +396,7 @@ function findWebIrc(connect_data) { * Deviates from the RFC a little to support the '/' character now used in some * IRCds */ -var parse_regex = /^(?:(?:(?:(@[^ ]+) )?):(?:([a-z0-9\x5B-\x60\x7B-\x7D\.\-]+)|([a-z0-9\x5B-\x60\x7B-\x7D\.\-]+)!([a-z0-9~\.\-_|]+)@?([a-z0-9\.\-:\/_]+)?) )?(\S+)(?: (?!:)(.+?))?(?: :(.+))?$/i; +var parse_regex = /^(?:(?:(?:(@[^ ]+) )?):(?:([a-z0-9\x5B-\x60\x7B-\x7D\.\-*]+)|([a-z0-9\x5B-\x60\x7B-\x7D\.\-*]+)!([a-z0-9~\.\-_|]+)@?([a-z0-9\.\-:\/_]+)?) )?(\S+)(?: (?!:)(.+?))?(?: :(.+))?$/i; var parse = function (data) { var i, -- 2.25.1