git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1729
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2006-11-04 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/m_nick.c (m_nick): If we get NICK on a server port, tell
+ the client to go away.
+
2006-11-04 Michael Poole <mdpoole@troilus.org>
* ircd/version.c.SH: Skip version.c.
assert(0 != cptr);
assert(cptr == sptr);
+ if (IsServerPort(cptr))
+ return exit_client(cptr, cptr, &me, "Use a different port");
+
/*
* parv[0] will be empty for clients connecting for the first time
*/
send_reply(sptr, ERR_NONICKNAMEGIVEN);
return 0;
}
+
/*
* Don't let them send make us send back a really long string of
* garbage