Forráskód Böngészése

No need to check isexempted() here as it is done above

Bryan Drewery 14 éve
szülő
commit
10e43e92c9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/mod/irc.mod/mode.c

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

@@ -805,7 +805,7 @@ got_ban(struct chanset_t *chan, memberlist *m, char *mask, char *isserver)
           get_user_flagrec(mv->user, &victim, chan->dname, chan);
           get_user_flagrec(mv->user, &victim, chan->dname, chan);
           if (!(glob_kick(victim) || chan_kick(victim)) && 
           if (!(glob_kick(victim) || chan_kick(victim)) && 
               (((chk_op(victim, chan) && !chan_master(user) && !glob_master(user) && !glob_bot(user)) || 
               (((chk_op(victim, chan) && !chan_master(user) && !glob_master(user) && !glob_bot(user)) || 
-              (mv->user->bot && findbot(mv->user->handle))) && !isexempted(chan, s1))) {
+              (mv->user->bot && findbot(mv->user->handle))))) {
             /* if (target_priority(chan, m, 0)) */
             /* if (target_priority(chan, m, 0)) */
             add_mode(chan, '-', 'b', mask);
             add_mode(chan, '-', 'b', mask);
             return;
             return;