summaryrefslogtreecommitdiff
path: root/src/hostserv.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-04 00:49:50 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-04 00:49:50 +0000
commit36f523249a2834b289471465c2a4b4b5a2475589 (patch)
treef22907a72bde0006d35f72db067cedb17185f93b /src/hostserv.c
parentb0b8e704423949b9335de1c4d147854264778157 (diff)
Fix access checking in core
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2256 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/hostserv.c')
-rw-r--r--src/hostserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostserv.c b/src/hostserv.c
index a2a82cf00..ec57ac841 100644
--- a/src/hostserv.c
+++ b/src/hostserv.c
@@ -519,7 +519,7 @@ int is_host_setter(User * u)
int i, j;
NickAlias *na;
- if (is_services_oper(u)) {
+ if (u->nc && u->nc->IsServicesOper()) {
return 1;
}
if (!nick_identified(u)) {