Browse Source

Remove NULL frees handled by clear_channel above.

Bryan Drewery 10 năm trước cách đây
mục cha
commit
ecca07a3f1
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      src/mod/channels.mod/channels.cc

+ 0 - 2
src/mod/channels.mod/channels.cc

@@ -712,8 +712,6 @@ void remove_channel(struct chanset_t *chan)
    if (chan->groups) {
      delete(chan->groups);
    }
-   delete chan->channel.floodtime;
-   delete chan->channel.floodnum;
    free(chan);
 }