Browse Source

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

Bryan Drewery 16 years ago
parent
commit
d068ed5536
1 changed files with 1 additions and 0 deletions
  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.
   }
 }