From 613eae649ef41568a7c263b51b0ff1819d6b24ba Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 23 Aug 2007 22:13:08 +0000 Subject: rss plugin: don't proceed if the specified feed doesn't exist --- data/rbot/plugins/rss.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'data/rbot') 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 -- cgit v1.2.3