mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +00:00
Bug 126109 - remove space from ctcp commands that have no parameters
r=rginda chatzilla only
This commit is contained in:
parent
8a7579aa1e
commit
f1c12bed86
@ -442,7 +442,7 @@ function serv_messto (code, target, msg, ctcpCode)
|
||||
|
||||
if (ctcpCode)
|
||||
{
|
||||
pfx = "\01" + ctcpCode + " ";
|
||||
pfx = "\01" + ctcpCode;
|
||||
sfx = "\01";
|
||||
}
|
||||
|
||||
@ -464,8 +464,12 @@ function serv_messto (code, target, msg, ctcpCode)
|
||||
|
||||
if ((lines[i] != "") || ctcpCode)
|
||||
{
|
||||
var line = code + " " + target + " :" + pfx;
|
||||
this.sendsThisRound++;
|
||||
var line = code + " " + target + " :" + pfx + lines[i] + sfx;
|
||||
if (lines[i] != "")
|
||||
line += " " + lines[i] + sfx;
|
||||
else
|
||||
line += sfx;
|
||||
//dd ("-*- irc sending '" + line + "'");
|
||||
this.sendData (line + "\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user