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

* The form of the 002 numeric was incorrect.

parent 6b9beb06
No related branches found
No related tags found
No related merge requests found
...@@ -331,7 +331,7 @@ function Unregistered_Commands() { ...@@ -331,7 +331,7 @@ function Unregistered_Commands() {
new_user.ircclass = my_iline.ircclass; new_user.ircclass = my_iline.ircclass;
hcc_counter++; hcc_counter++;
this.numeric("001", ":Welcome to the Synchronet IRC Service, " + new_user.nuh); this.numeric("001", ":Welcome to the Synchronet IRC Service, " + new_user.nuh);
this.numeric("002", ":Your host is " + servername + ", running " + VERSION); this.numeric("002", ":Your host is " + servername + ", running version " + VERSION);
this.numeric("003", ":This server was created " + strftime("%a %b %e %Y at %H:%M:%S %Z",server_uptime)); this.numeric("003", ":This server was created " + strftime("%a %b %e %Y at %H:%M:%S %Z",server_uptime));
this.numeric("004", servername + " " + VERSION + " oiwbgscrkfydnhF biklmnopstv"); this.numeric("004", servername + " " + VERSION + " oiwbgscrkfydnhF biklmnopstv");
this.numeric("005", "MODES=" + max_modes + " MAXCHANNELS=" + max_user_chans + " CHANNELLEN=" + max_chanlen + " MAXBANS=" + max_bans + " NICKLEN=" + max_nicklen + " TOPICLEN=" + max_topiclen + " KICKLEN=" + max_kicklen + " CHANTYPES=#& PREFIX=(ov)@+ NETWORK=Synchronet CASEMAPPING=ascii CHANMODES=b,k,l,imnpst STATUSMSG=@+ :are available on this server."); this.numeric("005", "MODES=" + max_modes + " MAXCHANNELS=" + max_user_chans + " CHANNELLEN=" + max_chanlen + " MAXBANS=" + max_bans + " NICKLEN=" + max_nicklen + " TOPICLEN=" + max_topiclen + " KICKLEN=" + max_kicklen + " CHANTYPES=#& PREFIX=(ov)@+ NETWORK=Synchronet CASEMAPPING=ascii CHANMODES=b,k,l,imnpst STATUSMSG=@+ :are available on this server.");
...@@ -344,7 +344,8 @@ function Unregistered_Commands() { ...@@ -344,7 +344,8 @@ function Unregistered_Commands() {
server.client_update(this.socket, this.nick, this.hostname); server.client_update(this.socket, this.nick, this.hostname);
server_bcast_to_servers("NICK " + this.nick + " 1 " + new_user.created + " + " + this.uprefix + " " + this.hostname + " " + servername + " 0 " + ip_to_int(new_user.ip) + " :" + this.realname); server_bcast_to_servers("NICK " + this.nick + " 1 " + new_user.created + " + " + this.uprefix + " " + this.hostname + " " + servername + " 0 " + ip_to_int(new_user.ip) + " :" + this.realname);
// we're no longer unregistered. // we're no longer unregistered.
delete Unregistered[this]; delete Unregistered[this.id];
delete this;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment