mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
Bug 236157 - Make server password work after first try, fix notify when all nicknames are offline, and show half-op status in channel header. Also bump version 0.9.60.
r=samuel@sieb.net
This commit is contained in:
parent
bcc40086df
commit
f482eb86c3
@ -996,6 +996,11 @@ function cmdServer(e)
|
||||
client.addNetwork(name, [{name: e.hostname, port: e.port,
|
||||
password: e.password}])
|
||||
}
|
||||
else if (e.password)
|
||||
{
|
||||
/* update password on existing server. */
|
||||
client.networks[name].serverList[0].password = e.password;
|
||||
}
|
||||
|
||||
return client.connectToNetwork(name);
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
<!-- package information -->
|
||||
<RDF:Description about="urn:mozilla:package:chatzilla"
|
||||
chrome:displayName="Chatzilla"
|
||||
chrome:displayName="ChatZilla 0.9.60"
|
||||
chrome:author="mozilla.org"
|
||||
chrome:authorURL="http://www.mozilla.org/projects/rt-messaging/chatzilla/"
|
||||
chrome:description="A simple, straightforward Internet Relay Chat (IRC) client."
|
||||
|
@ -719,7 +719,11 @@ function my_notice (e)
|
||||
CIRCNetwork.prototype.on303 = /* ISON (aka notify) reply */
|
||||
function my_303 (e)
|
||||
{
|
||||
var onList = stringTrim(e.params[2].toLowerCase()).split(/\s+/);
|
||||
var onList = new Array();
|
||||
// split() gives an array of one item ("") when splitting "", which we
|
||||
// don't want, so only do the split if there's something to split.
|
||||
if (e.params[2])
|
||||
onList = stringTrim(e.params[2].toLowerCase()).split(/\s+/);
|
||||
var offList = new Array();
|
||||
var newArrivals = new Array();
|
||||
var newDepartures = new Array();
|
||||
@ -933,9 +937,9 @@ function my_352 (e)
|
||||
}
|
||||
|
||||
var status = e.params[7];
|
||||
if (e.params[7] == "G")
|
||||
if (e.params[7][0] == "G")
|
||||
status = MSG_GONE;
|
||||
else if (e.params[7] == "H")
|
||||
else if (e.params[7][0] == "H")
|
||||
status = MSG_HERE;
|
||||
|
||||
e.user.display(getMsg(MSG_WHO_MATCH,
|
||||
|
@ -362,7 +362,7 @@ function updateChannel()
|
||||
|
||||
setText("usercount", getMsg(MSG_FMT_USERCOUNT,
|
||||
[view.getUsersLength(), view.opCount,
|
||||
view.voiceCount]));
|
||||
view.halfopCount, view.voiceCount]));
|
||||
setAttribute("usercount", "condition", "green");
|
||||
|
||||
if (view.topic)
|
||||
|
@ -34,7 +34,7 @@
|
||||
* Samuel Sieb, samuel@sieb.net, MIRC color codes, munger menu, and various
|
||||
*/
|
||||
|
||||
const __cz_version = "0.9.59";
|
||||
const __cz_version = "0.9.60";
|
||||
const __cz_condition = "green";
|
||||
|
||||
var warn;
|
||||
|
@ -472,7 +472,7 @@ msg.fmt.plugin1 = Plugin at index %S, loaded from <%S>
|
||||
msg.fmt.plugin2 = id: %S, version: %S, enabled: %S, status: %S
|
||||
msg.fmt.plugin3 = Description: %S
|
||||
|
||||
msg.fmt.usercount = %S, %S@, %S+
|
||||
msg.fmt.usercount = %S, %S@, %S%%, %S+
|
||||
msg.fmt.alias = %S = %S
|
||||
msg.fmt.seconds = %S seconds
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user