QUIT without a message fix
authorDarren <darren@darrenwhitlen.com>
Sun, 12 Jan 2014 18:54:07 +0000 (18:54 +0000)
committerDarren <darren@darrenwhitlen.com>
Sun, 12 Jan 2014 18:54:07 +0000 (18:54 +0000)
server/irc/connection.js

index 1a9fe63e6de5282e6a36e81eb05a1cc0939892f6..c807c21d8da6ebd3f5de74f66486ecf4bede3fda 100644 (file)
@@ -713,7 +713,7 @@ function socketOnData(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\.\-*]+)!([^\x00\r\n\ ]+?)@?([a-z0-9\.\-:\/_]+)?) )?(\S+)(?: (?!:)(.+?))?(?: :(.+))?$/i;
+var parse_regex = /^(?:(?:(?:@([^ ]+) )?):(?:([a-z0-9\x5B-\x60\x7B-\x7D\.\-*]+)|([a-z0-9\x5B-\x60\x7B-\x7D\.\-*]+)!([^\x00\r\n\ ]+?)@?([a-z0-9\.\-:\/_]+)?) )?(\S+)(?: (?!:)(.+?))?(?: :(.*))?$/i;
 
 function parseIrcLine(buffer_line) {
     var msg,