CIRCNetwork.onStartConnect Member
Syntax
object.onStartConnect(e);
Arguments
Argument | Summary |
---|---|
e |
Returns
Remarks
See Also
Source Code
function my_sconnect (e)
{
this.busy = true;
updateProgress();
if ("_firstNick" in this)
delete this._firstNick;
client.munger.getRule(".inline-buttons").enabled = true;
this.display(getMsg(MSG_CONNECTION_ATTEMPT,
[this.getURL(), e.server.getURL(), this.unicodeName,
"cancel"]), "INFO");
client.munger.getRule(".inline-buttons").enabled = false;
if (this.prefs["identd.enabled"])
{
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;
// When connection begins, autoperform has not been sent
this.autoPerformSent = false;
}