summaryrefslogtreecommitdiff
path: root/src/core/cs_help.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-02 20:21:43 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-02 20:21:43 +0000
commita39137e271da3945b59f17ecf8f03c106a79c6c4 (patch)
tree79bc573bdd65e5e4cd2b452b81c14f70c6ce6752 /src/core/cs_help.c
parent25050df4345a6918432d1f32fb40c0e9b79a454f (diff)
Fix up a bunch of access checking to be a bit more modern and so on
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2235 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_help.c')
-rw-r--r--src/core/cs_help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_help.c b/src/core/cs_help.c
index 173fe1a7f..3a6d9b5b7 100644
--- a/src/core/cs_help.c
+++ b/src/core/cs_help.c
@@ -57,7 +57,7 @@ class CommandCSHelp : public Command
moduleDisplayHelp(2, u);
if (CSExpire >= 86400)
notice_help(s_ChanServ, u, CHAN_HELP_EXPIRES, CSExpire / 86400);
- if (is_services_oper(u))
+ if (u->nc && u->nc->IsServicesOper())
notice_help(s_ChanServ, u, CHAN_SERVADMIN_HELP);
}
};