Przeglądaj źródła

* Don't enforce_bitch() if mop is set and not +bitch

Bryan Drewery 16 lat temu
rodzic
commit
7c05f44492
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/mod/irc.mod/mode.c

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

@@ -1106,7 +1106,7 @@ gotmode(char *from, char *msg)
                 }
                 }
               }
               }
               // Don't mass deop if protect is set, it'll happen anyway below
               // Don't mass deop if protect is set, it'll happen anyway below
-              if (!channel_protect(chan))
+              if (channel_bitch(chan) && !channel_protect(chan))
                 enforce_bitch(chan);        /* deop quick! */
                 enforce_bitch(chan);        /* deop quick! */
             }
             }
             if (channel_protect(chan))
             if (channel_protect(chan))