diff options
| author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-01 19:56:40 +0000 |
|---|---|---|
| committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-01 19:56:40 +0000 |
| commit | 3cdca9e47a75f576e5ce5ba731cb65c5e68ac647 (patch) | |
| tree | 0879f2048a661ad8bfc4bd1293481f87833cf767 /src/chanserv.c | |
| parent | e57feb4ef66eb167624b0f1df56d744771662452 (diff) | |
Replace nick_is_* checking of static userlevels with NickCore::IsServicesOper, which just confirms they have *an* opertype.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2231 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/chanserv.c')
| -rw-r--r-- | src/chanserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index d821e6a0a..235421072 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -1420,7 +1420,7 @@ void cs_remove_nick(const NickCore * nc) if (ci->founder == nc) { if (ci->successor) { NickCore *nc2 = ci->successor; - if (!nick_is_services_admin(nc2) && CSMaxReg && nc2->channelcount >= CSMaxReg) { + if (!nc2->IsServicesIoer() && CSMaxReg && nc2->channelcount >= CSMaxReg) { alog("%s: Successor (%s) of %s owns too many channels, " "deleting channel", s_ChanServ, nc2->display, ci->name); delchan(ci); continue; |
