summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
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