diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-08-30 20:37:01 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-08-30 20:37:01 +0000 |
commit | aa3d839c2106489f52ee4eba09b51ff444caacad (patch) | |
tree | 85a911773890e1e5b7a5a465f47153d6a50532d2 /data/rbot | |
parent | 5ea033984efb353fb8ca8f36b55582e915263805 (diff) |
* (delicious) typo fixed
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/delicious.rb | 2 |
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 |