mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 318336 - ChatZilla doesn't display messages if you ignore anyone
patch by gijskruitbosch+bugs@gmail.com r=silver
This commit is contained in:
parent
a3cbff90e5
commit
760dd5cd10
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user