From 7c2d66cbfc53d1bfb321a421724545a8faa0d417 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Tue, 30 Dec 2008 00:56:41 +0000 Subject: [PATCH] Fix compile error in recent AKICK fix. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1887 5417fbe8-f217-4b02-8779-1006273d7864 --- src/chanserv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chanserv.c b/src/chanserv.c index 2b3415e97..d21359042 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -1419,7 +1419,7 @@ void expire_chans() void cs_remove_nick(const NickCore * nc) { - int i, j; + int i, j, k; ChannelInfo *ci, *next; ChanAccess *ca; AutoKick *akick; @@ -1479,13 +1479,13 @@ void cs_remove_nick(const NickCore * nc) akick->flags = 0; akick->addtime = 0; akick->u.nc = NULL; - + /* Only one occurance can exist in every akick list.. ~ Viper */ break; } } - /* Are there any akicks behind us? + /* Are there any akicks behind us? * If so, move all following akicks.. ~ Viper */ if (j < ci->akickcount - 1) { for (k = j + 1; k < ci->akickcount; j++, k++) {