1
0
Эх сурвалжийг харах

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

Bryan Drewery 16 жил өмнө
parent
commit
d068ed5536

+ 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);
       do_chanset(NULL, chan, "+botbitch +bitch", DO_LOCAL | DO_NET);
     }
     }
     enforce_bitch(chan);
     enforce_bitch(chan);
+    reversing = 1; // Reverse any modes which triggered this.
   }
   }
 }
 }