summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-23 22:13:08 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-23 22:13:08 +0000
commit613eae649ef41568a7c263b51b0ff1819d6b24ba (patch)
treec1355a6087e28d9d1ff445cd2acb940be6a636aa /data/rbot/plugins
parent9bd132421d1ee0515f53a4e2b2ffc1b663f622d9 (diff)
rss plugin: don't proceed if the specified feed doesn't exist
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/rss.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index ed379650..f30bc006 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -575,6 +575,7 @@ class RSSFeedsPlugin < Plugin
def del_rss(m, params, pass=false)
feed = unwatch_rss(m, params, true)
+ return unless feed
if feed.watched?
m.reply "someone else is watching #{feed.handle}, I won't remove it from my list"
return