Bug 495363 - Eat exceptions from ident.addNetwork (and display warning) instead of breaking auto-perform.
ChatZilla only. r=gijs git-svn-id: svn://10.0.0.236/trunk@258200 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1926,10 +1926,18 @@ function my_sconnect (e)
|
||||
|
||||
if (this.prefs["identd.enabled"])
|
||||
{
|
||||
if (jsenv.HAS_SERVER_SOCKETS)
|
||||
client.ident.addNetwork(this, e.server);
|
||||
else
|
||||
try
|
||||
{
|
||||
if (jsenv.HAS_SERVER_SOCKETS)
|
||||
client.ident.addNetwork(this, e.server);
|
||||
else
|
||||
display(MSG_IDENT_SERVER_NOT_POSSIBLE, MT_WARN);
|
||||
}
|
||||
catch (ex)
|
||||
{
|
||||
display(MSG_IDENT_SERVER_NOT_POSSIBLE, MT_WARN);
|
||||
dd(formatException(ex));
|
||||
}
|
||||
}
|
||||
|
||||
this.NICK_RETRIES = this.prefs["nicknameList"].length + 3;
|
||||
|
||||
Reference in New Issue
Block a user