1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 09:46:38 +02:00

Fix compile error in recent AKICK fix.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1887 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2008-12-30 00:56:41 +00:00
parent 6ab2f3b010
commit 7c2d66cbfc
+3 -3
View File
@@ -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++) {