From 760dd5cd108edfc2a42830b764d75b4894636120 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Wed, 30 Nov 2005 17:02:19 +0000 Subject: [PATCH] Bug 318336 - ChatZilla doesn't display messages if you ignore anyone patch by gijskruitbosch+bugs@gmail.com r=silver --- extensions/irc/js/lib/irc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/irc/js/lib/irc.js b/extensions/irc/js/lib/irc.js index 7b0412182a0b..7dc359423592 100644 --- a/extensions/irc/js/lib/irc.js +++ b/extensions/irc/js/lib/irc.js @@ -1140,6 +1140,7 @@ function serv_ppline(e) CIRCServer.prototype.onRawData = function serv_onRawData(e) { + var me = this; function makeMaskRegExp(text) { function escapeChars(c) @@ -1178,7 +1179,7 @@ function serv_onRawData(e) else mask.hostRE = makeMaskRegExp(mask.host); } - var lowerNick = this.parent.toLowerCase(user.unicodeName); + var lowerNick = me.toLowerCase(user.unicodeName); if ((!mask.nickRE || lowerNick.match(mask.nickRE)) && (!mask.userRE || user.name.match(mask.userRE)) && (!mask.hostRE || user.host.match(mask.hostRE)))