diff options
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) |