X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/1b0a2e397c666452fd3355e51063598be98696bd..d1cb1fd39516d0c22bc6c7e58ab8c64abc0d0657:/chanfix/chanfix.c diff --git a/chanfix/chanfix.c b/chanfix/chanfix.c index 13667488..d24b2a55 100644 --- a/chanfix/chanfix.c +++ b/chanfix/chanfix.c @@ -1211,8 +1211,10 @@ int cf_fixchannel(channel *cp) { /* don't reop users if we've already opped some services */ #if !CFDEBUG - if (count > 0) + if (count > 0) { + localsetmodeflush(&changes, 1); return CFX_FIXED; + } #endif /* now get a sorted list of regops */ @@ -1238,9 +1240,6 @@ int cf_fixchannel(channel *cp) { localsetmodeflush(&changes, 1); - irc_send("%s WA :cf_fixchannel(%s) done: %d client(s) opped.", - longtonumeric(mynick->numeric,5), cp->index->name->content, count); - if (count == CFMAXOPS) return CFX_FIXED; else if (count == 0)