]> jfr.im git - solanum.git/blobdiff - modules/m_wallops.c
extensions/umode_hide_idle_time: mask times for hidden sources (#373)
[solanum.git] / modules / m_wallops.c
index 0a951b0d6121320ea0b90e98ac422f3166c6ae1e..f64bc96e9ee3ef4642b5044fdcc58bc85baba3f1 100644 (file)
@@ -97,10 +97,10 @@ ms_wallops(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sour
 {
        const char *prefix = "";
 
-       if (MyClient(source_p) && !IsOperMassNotice(source_p))
+       if (MyClient(source_p) && !HasPrivilege(source_p, "oper:wallops"))
        {
                sendto_one(source_p, form_str(ERR_NOPRIVS),
-                          me.name, source_p->name, "mass_notice");
+                          me.name, source_p->name, "wallops");
                return;
        }