From aa3d839c2106489f52ee4eba09b51ff444caacad Mon Sep 17 00:00:00 2001 From: Dmitry Kim Date: Thu, 30 Aug 2007 20:37:01 +0000 Subject: * (delicious) typo fixed --- data/rbot/plugins/delicious.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/delicious.rb b/data/rbot/plugins/delicious.rb index df42e765..bf678303 100644 --- a/data/rbot/plugins/delicious.rb +++ b/data/rbot/plugins/delicious.rb @@ -46,7 +46,7 @@ class DeliciousPlugin < Plugin end def diu_add(url, opts = {}) - old = diu_req('get', :url => url).root.get_elements('/posts/post')[0] rescue ni + old = diu_req('get', :url => url).root.get_elements('/posts/post')[0] rescue nil opts[:tags] ||= '' if old opts[:description] ||= old.attribute('description').to_s -- cgit v1.2.3