Split user list from Channel into ChannelUserList
authorclinton <clinton@unknownlamer.org>
Mon, 23 Feb 2009 23:47:48 +0000 (23:47 +0000)
committerclinton <clinton@unknownlamer.org>
Mon, 23 Feb 2009 23:47:48 +0000 (23:47 +0000)
commit71cf268829070ae57d695fbea11404bc04113aa9
tree75b8de31736ff7006514e8836051a81f45e553df
parentecca8c201a7ca973c76394aa62139e444a5ff0db
Split user list from Channel into ChannelUserList

This patch is *huge* and potentially introduces a few bug, but it
*seems* ok so far. The ChannelUserList ought to be threadsafe; it was
necessary to do this as soon I will be added a bot:channel-users
function to the Scheme interface.

Doing this, naturally, exposed a number of horrid design issues that
I, as always, chose to ignore for now and instead merely cleaned up
one aspect as best as it could be given the surrounding muck. (ok,
Bobot++ isn't *terrible* but everything touches the internals of
everything so now they all have the Clap because one class caught it).
16 files changed:
source/Bot.C
source/BotThreading.C
source/Channel.C
source/Channel.H
source/ChannelUserList.C [new file with mode: 0644]
source/ChannelUserList.H [new file with mode: 0644]
source/Commands.C
source/Commands.H
source/Makefile.am
source/Parser.C
source/User.C
source/User.H
source/UserCommands.C
source/UserCommands.H
source/UserListItem.H
source/Utils.C