diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-13 06:06:33 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-13 06:06:33 +0200 |
commit | b6bd9a24014ac9fbc822e9051f216f0506f24cd5 (patch) | |
tree | 1ed6e0da04957ab71cfbf6a446116f79d2429ffe /data/rbot | |
parent | 940264d1718b5a32d34ac82276a29f0cc1a51941 (diff) |
message.rb: fix message addressing logic
IRC messages which are not PRIVMSG or NOTICE (i.e. not UserMessage) are
'addressed' to the bot when they originate from it.
Rather than putting this logic in each one of them (and forgetting about
it for some, e.g. NICK messages), put it in BasicUserMessage. Compensate
by always setting @address in UserMessage to test against target
instead.
Diffstat (limited to 'data/rbot')
0 files changed, 0 insertions, 0 deletions