Jelajahi Sumber

* -userbans no longer exempts +m|m

svn: 1165
Bryan Drewery 22 tahun lalu
induk
melakukan
d1b54bd8a1
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 0
      doc/UPDATES
  2. 1 2
      src/mod/irc.mod/mode.c

+ 1 - 0
doc/UPDATES

@@ -11,6 +11,7 @@ This is a summary of ChangeLog basically.
 * cmd_newleaf was sharing the new bot incorrectly.
 * Fixed a cosmetic/memory bug in cmd_who.
 * cmd_bots was displaying the wrong number of bots up.
+* -userbans no longer exempts +m|m
 
 1.1.9
 

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

@@ -579,8 +579,7 @@ static void got_ban(struct chanset_t *chan, char *nick, char *from, char *who)
     return;
   }
   if (!match_my_nick(nick)) {
-    if (channel_nouserbans(chan) && nick[0] && !glob_bot(user) &&
-	!glob_master(user) && !chan_master(user)) {
+    if (channel_nouserbans(chan) && nick[0] && !glob_bot(user)) {
       add_mode(chan, '-', 'b', who);
       return;
     }