Implement threadsafe banlist and make maintenance of bans cleaner
authorclinton <clinton@unknownlamer.org>
Tue, 18 Nov 2008 23:16:18 +0000 (23:16 +0000)
committerclinton <clinton@unknownlamer.org>
Tue, 18 Nov 2008 23:16:18 +0000 (23:16 +0000)
commitf9723c92f92fda0725a0fdbacd0bc37d529c9265
tree3c693473e079dba1fc6118fab5765172ae6800dd
parente230c68da519a44c8e4bafce4dcc7a0284df7973
Implement threadsafe banlist and make maintenance of bans cleaner

* BanList is now a separate class instead of being part of the channel
* Channels now expire their own bans eliminating the TodoList class
* UserCommands::TBan converted to use Commands::TBan
* Channel::addBan/delBan now handles sending channel modes eliminating
  some duplicated code
* All users of the channelBanlist have been updated to use the new
  interface
12 files changed:
source/BanList.C [new file with mode: 0644]
source/BanList.H [new file with mode: 0644]
source/Bot.C
source/Bot.H
source/Channel.C
source/Channel.H
source/Commands.C
source/Makefile.am
source/Parser.C
source/TodoList.C [deleted file]
source/TodoList.H [deleted file]
source/UserCommands.C