diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-01-29 15:35:58 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-01-29 15:35:58 +0000 |
commit | efa976263e8bb4b05d41a39a7e4adf492b80711b (patch) | |
tree | 76c9fc7462ded74c7232803b1169a16763efa14b | |
parent | 29976e18bd9784d2a252ba6cc92c213c31d87037 (diff) |
Messages from ignored users are logged to IRC logs, even though no other action is taken. This allows rbot logs to be used for ircstats
-rw-r--r-- | lib/rbot/ircbot.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index ff84fa7b..641eff29 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -423,9 +423,9 @@ class IrcBot end } - unless ignored - irclogprivmsg(m) + irclogprivmsg(m) + unless ignored @plugins.delegate "listen", m @plugins.privmsg(m) if m.address? end |