summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kim <dmitry point kim at gmail point com>2007-08-30 20:37:01 +0000
committerDmitry Kim <dmitry point kim at gmail point com>2007-08-30 20:37:01 +0000
commitaa3d839c2106489f52ee4eba09b51ff444caacad (patch)
tree85a911773890e1e5b7a5a465f47153d6a50532d2
parent5ea033984efb353fb8ca8f36b55582e915263805 (diff)
* (delicious) typo fixed
-rw-r--r--data/rbot/plugins/delicious.rb2
1 files changed, 1 insertions, 1 deletions
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