diff options
| author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-04 00:49:50 +0000 |
|---|---|---|
| committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-04 00:49:50 +0000 |
| commit | 36f523249a2834b289471465c2a4b4b5a2475589 (patch) | |
| tree | f22907a72bde0006d35f72db067cedb17185f93b /src/hostserv.c | |
| parent | b0b8e704423949b9335de1c4d147854264778157 (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.c | 2 |
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)) { |
