]> jfr.im git - solanum.git/blobdiff - modules/core/m_ban.c
Replace most checks for +o with oper:general
[solanum.git] / modules / core / m_ban.c
index 43e6fc9ef748d0f0491297e9cc7f8822085e63f4..b1e738d3a77eb326f284fc4ee4893560b6cdcead 100644 (file)
@@ -64,7 +64,7 @@ m_ban(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
 {
        sendto_one_notice(source_p, ":The BAN command is not user-accessible.");
        sendto_one_notice(source_p, ":To ban a user from a channel, see /QUOTE HELP CMODE");
-       if (IsOper(source_p))
+       if (IsOperGeneral(source_p))
                sendto_one_notice(source_p, ":To ban a user from a server or from the network, see /QUOTE HELP KLINE");
 }