summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-01-29 15:35:58 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-01-29 15:35:58 +0000
commitefa976263e8bb4b05d41a39a7e4adf492b80711b (patch)
tree76c9fc7462ded74c7232803b1169a16763efa14b /lib/rbot
parent29976e18bd9784d2a252ba6cc92c213c31d87037 (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
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/ircbot.rb4
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