summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/url.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-13 12:30:35 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-13 12:30:35 +0100
commit80bf1a038e53fc1f179e444e91ed06ec4bfbc6b7 (patch)
tree5a8bad38239ea3f542a327bf1549f135f307bf4c /data/rbot/plugins/url.rb
parent3b43980a5835b276ddd146607bbe0cdaf7949ae5 (diff)
url plugin: output link info with m.plainreply
Link info should be directed to the whole channel, not only the user that triggered it; use m.plainreply instead of m.reply so that core.reply_with_nick = true is ignored.
Diffstat (limited to 'data/rbot/plugins/url.rb')
-rw-r--r--data/rbot/plugins/url.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb
index ef5374ab..e1c9b473 100644
--- a/data/rbot/plugins/url.rb
+++ b/data/rbot/plugins/url.rb
@@ -150,7 +150,7 @@ class UrlPlugin < Plugin
if display_info > urls_displayed
if reply
- m.reply(reply, :overlong => :truncate)
+ m.plainreply(reply, :overlong => :truncate)
urls_displayed += 1
end
end