зеркало из https://github.com/mozilla/gecko-dev.git
Bug 290732 - Add CTCP SOURCE.
r=silver a=asa p=glenjamin@gmail.com (Glen Mailer)
This commit is contained in:
Родитель
e5d841202c
Коммит
23f752a31a
|
@ -2371,6 +2371,14 @@ function serv_cver (e)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CIRCServer.prototype.onCTCPSource =
|
||||||
|
function serv_csrc (e)
|
||||||
|
{
|
||||||
|
e.user.ctcp("SOURCE", this.SOURCE_RPLY, "NOTICE");
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
CIRCServer.prototype.onCTCPOs =
|
CIRCServer.prototype.onCTCPOs =
|
||||||
function serv_os(e)
|
function serv_os(e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -731,6 +731,12 @@ function serv_ccinfohelp()
|
||||||
return MSG_CTCPHELP_VERSION;
|
return MSG_CTCPHELP_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CIRCServer.prototype.CTCPHelpSource =
|
||||||
|
function serv_csrchelp()
|
||||||
|
{
|
||||||
|
return MSG_CTCPHELP_SOURCE;
|
||||||
|
}
|
||||||
|
|
||||||
CIRCServer.prototype.CTCPHelpOs =
|
CIRCServer.prototype.CTCPHelpOs =
|
||||||
function serv_oshelp()
|
function serv_oshelp()
|
||||||
{
|
{
|
||||||
|
|
|
@ -289,6 +289,8 @@ function initStatic()
|
||||||
|
|
||||||
CIRCServer.prototype.VERSION_RPLY = client.userAgent;
|
CIRCServer.prototype.VERSION_RPLY = client.userAgent;
|
||||||
|
|
||||||
|
CIRCServer.prototype.SOURCE_RPLY = MSG_SOURCE_REPLY;
|
||||||
|
|
||||||
client.statusBar = new Object();
|
client.statusBar = new Object();
|
||||||
|
|
||||||
client.statusBar["server-nick"] = document.getElementById ("server-nick");
|
client.statusBar["server-nick"] = document.getElementById ("server-nick");
|
||||||
|
|
|
@ -737,6 +737,7 @@ msg.cmdmatch = Commands matching ``%1$S'' are [%2$S].
|
||||||
msg.default.alias.help = This command is an alias for |%1$S|.
|
msg.default.alias.help = This command is an alias for |%1$S|.
|
||||||
msg.extra.params = Extra parameters ``%1$S'' ignored.
|
msg.extra.params = Extra parameters ``%1$S'' ignored.
|
||||||
msg.version.reply = Chatzilla %S [%S]
|
msg.version.reply = Chatzilla %S [%S]
|
||||||
|
msg.source.reply = http://hacksrus.com/~ginda/chatzilla/
|
||||||
msg.nothing.to.cancel = No connection in progress, nothing to cancel.
|
msg.nothing.to.cancel = No connection in progress, nothing to cancel.
|
||||||
msg.cancelling = Cancelling connection to ``%S''...
|
msg.cancelling = Cancelling connection to ``%S''...
|
||||||
msg.current.charset = Using ``%S'' as default character encoding.
|
msg.current.charset = Using ``%S'' as default character encoding.
|
||||||
|
@ -834,6 +835,7 @@ msg.ctcphelp.clientinfo = CLIENTINFO gives information on available CTCP command
|
||||||
msg.ctcphelp.action = ACTION performs an action at the user
|
msg.ctcphelp.action = ACTION performs an action at the user
|
||||||
msg.ctcphelp.time = TIME gives the local date and time for the client
|
msg.ctcphelp.time = TIME gives the local date and time for the client
|
||||||
msg.ctcphelp.version = VERSION returns the client's version
|
msg.ctcphelp.version = VERSION returns the client's version
|
||||||
|
msg.ctcphelp.source = SOURCE returns an address where you can obtain the client
|
||||||
msg.ctcphelp.os = OS returns the client's host's operating system and version
|
msg.ctcphelp.os = OS returns the client's host's operating system and version
|
||||||
msg.ctcphelp.host = HOST returns the client's host application name and version
|
msg.ctcphelp.host = HOST returns the client's host application name and version
|
||||||
msg.ctcphelp.ping = PING echos the parameter passed to the client
|
msg.ctcphelp.ping = PING echos the parameter passed to the client
|
||||||
|
|
Загрузка…
Ссылка в новой задаче