diff options
Diffstat (limited to 'src/core/cs_help.c')
-rw-r--r-- | src/core/cs_help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_help.c b/src/core/cs_help.c index 80f4e6358..c7be1e787 100644 --- a/src/core/cs_help.c +++ b/src/core/cs_help.c @@ -58,7 +58,7 @@ class CommandCSHelp : public Command FOREACH_MOD(I_OnChanServHelp, OnChanServHelp(u)); if (Config.CSExpire >= 86400) notice_help(Config.s_ChanServ, u, CHAN_HELP_EXPIRES, Config.CSExpire / 86400); - if (u->nc && u->nc->IsServicesOper()) + if (u->Account() && u->Account()->IsServicesOper()) notice_help(Config.s_ChanServ, u, CHAN_SERVADMIN_HELP); } }; |