Explorar el Código

* When enforcing +protect, reverse the modes which triggered it.

Bryan Drewery hace 16 años
padre
commit
d068ed5536
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/mod/irc.mod/irc.c

+ 1 - 0
src/mod/irc.mod/irc.c

@@ -1447,6 +1447,7 @@ static void do_protect(struct chanset_t* chan, const char* reason) {
       do_chanset(NULL, chan, "+botbitch +bitch", DO_LOCAL | DO_NET);
     }
     enforce_bitch(chan);
+    reversing = 1; // Reverse any modes which triggered this.
   }
 }