#include "stdinc.h"
#include "client.h"
#include "ircd.h"
-#include "irc_string.h"
+#include "match.h"
#include "numeric.h"
#include "send.h"
#include "s_user.h"
{
const char *prefix = "";
+ if (MyClient(source_p) && !IsOperMassNotice(source_p))
+ {
+ sendto_one(source_p, form_str(ERR_NOPRIVS),
+ me.name, source_p->name, "mass_notice");
+ return 0;
+ }
+
if (IsPerson(source_p))
{
if (!strncmp(parv[1], "OPERWALL - ", 11) ||