Skip to content
Snippets Groups Projects
Commit fcb98549 authored by cyan's avatar cyan
Browse files

The server info field would sometimes be 'undefined'

parent 3d791463
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,7 @@ function IRC_Server() { ...@@ -72,6 +72,7 @@ function IRC_Server() {
this.synchronize=IRCClient_synchronize; this.synchronize=IRCClient_synchronize;
this.reintroduce_nick=IRCClient_reintroduce_nick; this.reintroduce_nick=IRCClient_reintroduce_nick;
this.finalize_server_connect=IRCClient_finalize_server_connect; this.finalize_server_connect=IRCClient_finalize_server_connect;
this.do_msg=IRCClient_do_msg;
// Global Functions // Global Functions
this.check_timeout=IRCClient_check_timeout; this.check_timeout=IRCClient_check_timeout;
this.set_chanmode=IRCClient_set_chanmode; this.set_chanmode=IRCClient_set_chanmode;
...@@ -636,7 +637,7 @@ function Server_Work() { ...@@ -636,7 +637,7 @@ function Server_Work() {
} else { } else {
break; break;
} }
this.bcast_to_servers_raw(":" + newsrv.linkparent + " SERVER " + newsrv.nick + " " + (parseInt(newsrv.hops)+1) + " :" + newsrv.realname); this.bcast_to_servers_raw(":" + newsrv.linkparent + " SERVER " + newsrv.nick + " " + (parseInt(newsrv.hops)+1) + " :" + newsrv.info);
break; break;
case "SJOIN": case "SJOIN":
if (!cmd[2]) if (!cmd[2])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment