diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-02 20:21:43 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-02 20:21:43 +0000 |
commit | a39137e271da3945b59f17ecf8f03c106a79c6c4 (patch) | |
tree | 79bc573bdd65e5e4cd2b452b81c14f70c6ce6752 /src/core/ms_set.c | |
parent | 25050df4345a6918432d1f32fb40c0e9b79a454f (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/ms_set.c')
-rw-r--r-- | src/core/ms_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ms_set.c b/src/core/ms_set.c index aa8d33453..209ad453d 100644 --- a/src/core/ms_set.c +++ b/src/core/ms_set.c @@ -244,7 +244,7 @@ class CommandMSSet : public Command notice_help(s_MemoServ, u, MEMO_HELP_SET_NOTIFY); else if (subcommand == "LIMIT") { - if (is_services_oper(u)) + if (u->nc && u->nc->IsServicesOper()) notice_help(s_MemoServ, u, MEMO_SERVADMIN_HELP_SET_LIMIT, MSMaxMemos); else notice_help(s_MemoServ, u, MEMO_HELP_SET_LIMIT, MSMaxMemos); |