* fix handling of IDENTIFY_MSG
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 29 Jun 2008 18:19:41 +0000 (20:19 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 29 Jun 2008 18:19:41 +0000 (20:19 +0200)
commit123fc3dd723a044e729341eaedfb8cc75390ac84
tree363b4259836571fc56e8daceb743ca0539568b51
parent3c14c9850e03c679541d3a210e6dcdffeb240044
* fix handling of IDENTIFY_MSG

When a server has IDENTIFY-MSG, we would expect identification in any
PRIVMSG or NOTICE, even on those generated from the bot. This caused
lots of spurious warnings, and would lead to mislogging when a
bot-generated message started with + or -.

Fix this by only handling IDENTIFY-MSG on server-generated messages.
lib/rbot/ircbot.rb
lib/rbot/message.rb