{
ServerStats->is_ref++;
- send_reply(cptr, RPL_EXPLICIT | ERR_INVALIDUSERNAME,
+ send_reply(cptr, SND_EXPLICIT | ERR_INVALIDUSERNAME,
":Your username is invalid.");
- send_reply(cptr, RPL_EXPLICIT | ERR_INVALIDUSERNAME,
+ send_reply(cptr, SND_EXPLICIT | ERR_INVALIDUSERNAME,
":Connect with your real username, in lowercase.");
- send_reply(cptr, RPL_EXPLICIT | ERR_INVALIDUSERNAME,
+ send_reply(cptr, SND_EXPLICIT | ERR_INVALIDUSERNAME,
":If your mail address were foo@bar.com, your username "
"would be foo.");
return exit_client(cptr, sptr, &me, "USER: Bad username");
nextping = CurrentTime;
if (sptr->snomask & SNO_NOISY)
set_snomask(sptr, sptr->snomask & SNO_NOISY, SNO_ADD);
-#ifdef ALLOW_SNO_CONNEXIT
-#ifdef SNO_CONNEXIT_IP
- sendto_opmask_butone(0, SNO_CONNEXIT, "Client connecting: %s (%s@%s) "
- "[%s] {%d}", nick, user->username, user->host,
- cptr->sock_ip, get_client_class(sptr));
-#else /* SNO_CONNEXIT_IP */
- sendto_opmask_butone(0, SNO_CONEXIT, "Client connecting: %s (%s@%s)",
- nick, user->username, user->host);
-#endif /* SNO_CONNEXIT_IP */
-#endif /* ALLOW_SNO_CONNEXIT */
IPcheck_connect_succeeded(sptr);
}
else