diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-11 08:49:35 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-11 08:49:35 +0200 |
commit | 0bcb22bf7f4574a9697dddbacc0a23dae618b5a0 (patch) | |
tree | 3ebbc43766c910c55efc42e039276d287d9ae2a0 /data | |
parent | 0a900b044b1920942ef99be800d7cd9bd8b60f5c (diff) |
rfc2812: create channels and users for al commands when needed
Always create a user or channel when we receive information about it.
This makes server message parsing much more robust (no more crashes
about NilClass not having user/channel methods) but has a few subtle
implications about the server state: for example, channels may exist in
the Server object even when the bot is not in the channel itself.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions