#include "s_conf.h"
#include "send.h"
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
/*
* do_clearmode(struct Client *cptr, struct Client *sptr,
modebuf_mode_string(&mbuf, MODE_DEL | MODE_BAN, /* delete ban */
link->banstr, 1);
- link->banstr = NULL;
+ link->banstr = NULL; /* modebuf_mode_string() gave ownership of
+ * banstr to mbuf */
free_ban(link);
}
return need_more_params(sptr, "CLEARMODE");
if (!IsPrivileged(sptr)) {
- protocol_violation(sptr,"No priviledges on source for CLEARMODE, desync?");
+ protocol_violation(sptr,"No privileges on source for CLEARMODE, desync?");
return send_reply(sptr, ERR_NOPRIVILEGES);
}