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:
silver%warwickcompsoc.co.uk 2004-03-02 19:36:22 +00:00
parent bcc40086df
commit f482eb86c3
6 changed files with 16 additions and 7 deletions

View File

@ -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);
}

View File

@ -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."

View File

@ -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,

View File

@ -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)

View File

@ -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;

View File

@ -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