X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/7f32dbdf4819641d2feb4655b02f72846436c995..78546f2b0f59b5c8fede1ce5535972716eb17041:/chanfix/chanfix.c diff --git a/chanfix/chanfix.c b/chanfix/chanfix.c index 31698d94..9c8c93bc 100644 --- a/chanfix/chanfix.c +++ b/chanfix/chanfix.c @@ -679,7 +679,6 @@ void cfsched_dosample(void *arg) { channel *cp; chanindex *cip; nick *np; - chanfix *cf; regop *ro, *roh; struct timeval start; struct timeval end; @@ -696,7 +695,6 @@ void cfsched_dosample(void *arg) { for (i=0; inext) { - cf = (chanfix*)cip->exts[cfext]; cp = cip->channel; if (!cp || cp->users->totalusers < CFMINUSERS) @@ -706,6 +704,9 @@ void cfsched_dosample(void *arg) { if ((cp->users->content[a] != nouser) && (cp->users->content[a] & CUMODE_OP)) { np = getnickbynumeric(cp->users->content[a]); + if (np) + continue; + #if !CFDEBUG if (IsService(np)) continue;