summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-30 00:56:41 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-30 00:56:41 +0000
commit7c2d66cbfc53d1bfb321a421724545a8faa0d417 (patch)
tree55e3ae22f7024246766e49945ece01e34a53dc45 /src
parent6ab2f3b010b6a95c3fcc2cf308be9ef5a7ecd409 (diff)
Fix compile error in recent AKICK fix.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1887 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/chanserv.c6
1 files 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++) {