summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/url.rb
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2009-01-21 16:02:08 +0100
committerdmitry kim <jason@nichego.net>2009-01-22 02:26:24 +0300
commitec5745fa7abd47b8ca12bd783b0759079dff9917 (patch)
treef6e0f629e285f843101f3dfe5cae80df73e0c5d0 /data/rbot/plugins/url.rb
parent35cc0ef69af6344db8a36c733207241594bbd402 (diff)
* (plugins) changed to the new reply schema (:nick)
Diffstat (limited to 'data/rbot/plugins/url.rb')
-rw-r--r--data/rbot/plugins/url.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb
index 8c4746b5..826af10d 100644
--- a/data/rbot/plugins/url.rb
+++ b/data/rbot/plugins/url.rb
@@ -160,7 +160,8 @@ class UrlPlugin < Plugin
if display_info > urls_displayed
if reply
- m.plainreply(reply, :overlong => :truncate)
+ m.reply reply, :overlong => :truncate,
+ :nick => (m.address? ? :auto : false)
urls_displayed += 1
end
end