Bug 396156 - Show a warning before doing /list or /rlist

p=rdmsoft@bugs.rdmsoft.com (Rob Marshall)
r=silver@warwickcompsoc.co.uk (James Ross)
ChatZilla Only. NPOTFFB.


git-svn-id: svn://10.0.0.236/trunk@240224 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gijskruitbosch%gmail.com
2007-12-01 17:10:16 +00:00
parent 07a5dcf298
commit 9fc2dfde1e
4 changed files with 37 additions and 9 deletions

View File

@@ -488,6 +488,7 @@ function CIRCServer (parent, hostname, port, isSecure, password)
s.supports = null;
s.channelTypes = null;
s.channelModes = null;
s.channelCount = -1;
s.userModes = null;
s.maxLineLength = 400;
@@ -1588,6 +1589,15 @@ function serv_251(e)
e.set = "network";
}
/* channels */
CIRCServer.prototype.on254 =
function serv_254(e)
{
this.channelCount = e.params[2];
e.destObject = this.parent;
e.set = "network";
}
/* user away message */
CIRCServer.prototype.on301 =
function serv_301(e)