From: Darren Date: Sun, 7 Apr 2013 14:52:15 +0000 (+0100) Subject: Allowing * in nicks for ZNC *status nick X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=44bf687c4d4ce9f6f5b65ef145d2affa77cb9a17;p=KiwiIRC.git Allowing * in nicks for ZNC *status nick --- 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,