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

Merge branch 'mop-bitch'

* mop-bitch:
  * Update docs
  * Don't enforce_bitch() if mop is set and not +bitch

Conflicts:
	doc/UPDATES
Bryan Drewery 15 жил өмнө
parent
commit
975fb3f43d
2 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/irc.mod/mode.c

+ 1 - 0
doc/UPDATES

@@ -8,6 +8,7 @@
   * Fix partyline cmds for |m and |o users who do not have console set correctly. (.adduser)
   * Allow simulated terminal (HQ) user to access owners (ie, .chpass owner)
   * Updated server list, 'set -yes servers -' and 'set -yes servers6 -' to get new list.
+  * Fix 'mop' causing a mass deop when -bitch
 
 1.3.1 - http://wraith.botpack.net/milestone/1.3.1
   * Fix crash related to slowpart

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

@@ -1110,7 +1110,7 @@ gotmode(char *from, char *msg)
                 }
               }
               // 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! */
             }
             if (channel_protect(chan))