diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-25 20:57:22 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-25 20:57:22 +0000 |
commit | 822e75b501efc57c533e65f68c55debd453415fd (patch) | |
tree | 2b57aaf3f8e6a5fdf58ceeddb3705f7aa3eaf627 /src/chanserv.c | |
parent | e2c6825cd233a4271f7bdb79c2f294ad7c4566b9 (diff) |
Fix a few more XOP related problems
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2668 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/chanserv.c')
-rw-r--r-- | src/chanserv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index ba1147072..a10e78932 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -1857,8 +1857,10 @@ void cs_remove_nick(const NickCore * nc) if (ca->in_use && ca->nc == nc) { ca->in_use = 0; ca->nc = NULL; + ci->accesscount--; } } + CleanAccess(ci); for (akick = ci->akick, j = 0; j < ci->akickcount; akick++, j++) { if ((akick->flags & AK_USED) && (akick->flags & AK_ISNICK) |