summaryrefslogtreecommitdiff
path: root/lib/rbot/ircbot.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-02 21:39:43 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-02 21:39:43 +0000
commit158056c6f68bbe75e4c9a33433e1502c445c26b8 (patch)
treebc1fd26ef887fd340453024ed353e8bfac20bb01 /lib/rbot/ircbot.rb
parenteee6a74ea1547b5c0e8757c64cace42fc9aea9bf (diff)
Fix message handling, comment out some debug messages
Diffstat (limited to 'lib/rbot/ircbot.rb')
-rw-r--r--lib/rbot/ircbot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index 9664f653..f765668d 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -413,7 +413,7 @@ class IrcBot
irclogprivmsg(m)
@plugins.delegate "listen", m
- @plugins.privmsg(m)
+ @plugins.privmsg(m) if m.address?
}
@client[:notice] = proc { |data|
message = NoticeMessage.new(self, @server, data[:source], data[:target], data[:message])