Selaa lähdekoodia

* getin_5secondly() was calling request_op() at the wrong times

svn: 864
Bryan Drewery 22 vuotta sitten
vanhempi
commit
6967ded49d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/mod/irc.mod/irc.c

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

@@ -1439,7 +1439,7 @@ static void getin_5secondly()
     struct chanset_t *chan = NULL;
 
     for (chan = chanset; chan; chan = chan->next) {
-      if ((channel_pending(chan) || channel_active(chan)) && !me_op(chan))
+      if ((!channel_pending(chan) && channel_active(chan)) && !me_op(chan))
         request_op(chan);
     }
   }