From 308070e01971b0cfaf77de20011f48ce4d6b5a1c Mon Sep 17 00:00:00 2001 From: Adam- Date: Thu, 4 Feb 2010 23:49:27 +0000 Subject: We now store a list of users using a NickCore in the NickCore, this prevents having to loop every user all the time to find them git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2780 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/cs_help.c') 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); } }; -- cgit