summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/linkbot.rb
diff options
context:
space:
mode:
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