summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/linkbot.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-07 08:49:36 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-07 08:49:36 +0200
commit8a3ef5e5aaf5cb8305728f3bcd407ac17fc23138 (patch)
treee89f18b0aef56944d9f02e2611b148ed4040b150 /data/rbot/plugins/linkbot.rb
parente00ea339ca3baaa9cfe74f6cec85c36e83307b61 (diff)
linkbot, remotectl plugins: delegate message() too
Diffstat (limited to 'data/rbot/plugins/linkbot.rb')
-rw-r--r--data/rbot/plugins/linkbot.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/linkbot.rb b/data/rbot/plugins/linkbot.rb
index 670be36d..b50027ec 100644
--- a/data/rbot/plugins/linkbot.rb
+++ b/data/rbot/plugins/linkbot.rb
@@ -65,6 +65,7 @@ class LinkBot < Plugin
# and delegate it to the plugins
new_m = PrivMessage.new(@bot, m.server, m.server.user(new_nick), m.target, message)
@bot.plugins.delegate "listen", new_m
+ @bot.plugins.delegate "message", new_m
@bot.plugins.privmsg(new_m) if new_m.address?
## Another way is to create a data Hash with source, target and message keys