summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-01 20:07:47 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-01 20:07:47 +0000
commit6712748378116c084c5993884d76ff46e32a77a9 (patch)
treef664c95c453387987d30fe3f3dc76b0299b2af32
parent3cdca9e47a75f576e5ce5ba731cb65c5e68ac647 (diff)
Boink.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2232 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/chanserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chanserv.c b/src/chanserv.c
index 235421072..0ca584227 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 (!nc2->IsServicesIoer() && CSMaxReg && nc2->channelcount >= CSMaxReg) {
+ if (!nc2->IsServicesOper() && 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;