From 8305c6104fa27b3314e95640b488b3fb5784328e Mon Sep 17 00:00:00 2001 From: "rginda%netscape.com" Date: Thu, 27 Jan 2000 10:13:27 +0000 Subject: [PATCH] more fixes to the ctcp regex --- extensions/irc/js/lib/irc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/irc/js/lib/irc.js b/extensions/irc/js/lib/irc.js index 2a74979af07c..63dcd9665477 100644 --- a/extensions/irc/js/lib/irc.js +++ b/extensions/irc/js/lib/irc.js @@ -1144,8 +1144,10 @@ function serv_privmsg (e) CIRCServer.prototype.onCTCP = function serv_ctcp (e) { - var ary = e.meat.match (/^\x01(\S+) ?(.*)?\x01$/i); + var ary = e.meat.match (/^\x01(\S+) ?(.*)\x01$/i); + dd (ary); + if (ary == null) return false;