X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/326217c4d00d436992a5e673755971b5e111b282..f0a889b602a9de1ae15a6acb50dcb94008df3494:/modules/m_wallops.c diff --git a/modules/m_wallops.c b/modules/m_wallops.c index 82a2965..ccd25e9 100644 --- a/modules/m_wallops.c +++ b/modules/m_wallops.c @@ -104,6 +104,13 @@ ms_wallops(struct Client *client_p, struct Client *source_p, int parc, const cha { 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) ||