Selaa lähdekoodia

* Fix case where bot would not get the +e and +I lists when getting opped.

Bryan Drewery 16 vuotta sitten
vanhempi
commit
0bf6fd10ae
2 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 2 0
      doc/UPDATES
  2. 2 0
      src/mod/channels.mod/tclchan.c

+ 2 - 0
doc/UPDATES

@@ -1,3 +1,5 @@
+* Fix case where bot would not get the +e and +I lists when getting opped.
+
 1.3 - http://wraith.botpack.net/milestone/1.3
 * Binary / shell / startup changes
   * Binary error messages are no longer obscure numbers or fake segfaults. (Compile with OBSCURE_ERRORS to re-enable)

+ 2 - 0
src/mod/channels.mod/tclchan.c

@@ -899,6 +899,8 @@ void clear_channel(struct chanset_t *chan, bool reset)
   clear_masklist(chan->channel.invite);
   chan->channel.invite = NULL;
 
+  chan->channel.last_eI = 0;
+
   chan->ircnet_status &= ~CHAN_HAVEBANS;
 
   if (reset)