summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/delicious.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/rbot/plugins/delicious.rb b/data/rbot/plugins/delicious.rb
index 61ba0091..c2ab7d5d 100644
--- a/data/rbot/plugins/delicious.rb
+++ b/data/rbot/plugins/delicious.rb
@@ -62,6 +62,10 @@ class DeliciousPlugin < Plugin
def event_url_added(url, options = {})
debug("called with #{url}, #{options.inspect}")
+ if @bot.config['delicious.user'].empty?
+ debug "del.icio.us plugin not configured, skipping"
+ return
+ end
opts = Hash.new
opts[:description] = options[:title] || options[:info] || url
opts[:extended] = options[:extra] if options[:extra]