#include "hash.h"
#include "ircd.h"
#include "ircd_chattr.h"
+#include "ircd_log.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "numeric.h"
#include "s_user.h"
#include "send.h"
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
acptr = FindNServer(server);
if (!acptr) {
- protocol_violation(sptr, "Issued SQUIT for unknown server %s (ignored)",
- server);
Debug((DEBUG_NOTICE, "Ignoring SQUIT to an unknown server"));
return 0;
}
*/
if ( timestamp != 0 && timestamp != cli_serv(acptr)->timestamp)
{
- protocol_violation(sptr, "Issued SQUIT for %C with wrong timestamp %Tu "
- "(%Tu) (ignored)", acptr, timestamp,
- cli_serv(acptr)->timestamp);
Debug((DEBUG_NOTICE, "Ignoring SQUIT with the wrong timestamp"));
return 0;
}
server = parv[1];
/*
- * The following allows wild cards in SQUIT. Only usefull
+ * The following allows wild cards in SQUIT. Only useful
* when the command is issued by an oper.
*/
for (acptr = GlobalClientList; (acptr = next_client(acptr, server));
/*
* Look for a matching server that is closer,
- * that way we won't accidently squit two close
+ * that way we won't accidentally squit two close
* servers like davis.* and davis-r.* when typing
* /SQUIT davis*
*/