#include "hash.h"
#include "ircd.h"
#include "ircd_features.h"
+#include "ircd_log.h"
#include "ircd_reply.h"
#include "ircd_snprintf.h"
#include "ircd_string.h"
#include "send.h"
#include "struct.h"
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
#include <stdlib.h>
#include <string.h>
/* Make the silence, set flags, and apply it. */
sile = make_ban(mask);
sile->flags |= flags;
- return apply_ban(&cli_user(sptr)->silence, sile) ? NULL : sile;
+ return apply_ban(&cli_user(sptr)->silence, sile, 1) ? NULL : sile;
}
/** Apply and send silence updates for a user.