Bug 318336 - ChatZilla doesn't display messages if you ignore anyone

patch by gijskruitbosch+bugs@gmail.com r=silver
This commit is contained in:
timeless%mozdev.org 2005-11-30 17:02:19 +00:00
parent a3cbff90e5
commit 760dd5cd10

View File

@ -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)))