diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/rss.rb | 1 | ||||
-rw-r--r-- | data/rbot/plugins/script.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index ca20c5a6..fa777739 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -289,6 +289,7 @@ class RSSFeedsPlugin < Plugin }
@feeds = @registry[:feeds]
+ raise unless @feeds
@registry.recovery = nil
diff --git a/data/rbot/plugins/script.rb b/data/rbot/plugins/script.rb index 38bb3134..5e2f1e58 100644 --- a/data/rbot/plugins/script.rb +++ b/data/rbot/plugins/script.rb @@ -21,6 +21,7 @@ class ScriptPlugin < Plugin super if @registry.has_key?(:commands) @commands = @registry[:commands] + raise unless @commands else @commands = Hash.new end |