]> jfr.im git - irc/quakenet/newserv.git/commitdiff
r506@blue (orig r448): services.no | 2006-03-11 15:41:22 +0000
authorChris Porter <redacted>
Mon, 1 May 2006 18:46:00 +0000 (19:46 +0100)
committerChris Porter <redacted>
Mon, 1 May 2006 18:46:00 +0000 (19:46 +0100)
 flush mode changes

chanfix/chanfix.c

index 1366748880e5f1e51cbcc89ace6dd7ded64cc710..d24b2a55c96dcb1dfa87bcd41cfc079c338d0c3e 100644 (file)
@@ -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)