X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/326217c4d00d436992a5e673755971b5e111b282..8bd5767b953efd089e0467b02f897f77581e589d:/modules/m_wallops.c?ds=sidebyside diff --git a/modules/m_wallops.c b/modules/m_wallops.c index 82a29657..ccd25e91 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) ||