diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-12 11:22:05 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-12 11:22:05 +0000 |
commit | 5f58c780eea198c68e8b9528c9c07cca0f401257 (patch) | |
tree | f80e670af4844b7f5d247e30247e8bec55e7a60e /data/rbot/plugins/script.rb | |
parent | ac39a3b330cbf7c4b65ba907783364b63fb109b3 (diff) |
script, rss plugins: raise if main data could not be restored from the registry
Diffstat (limited to 'data/rbot/plugins/script.rb')
-rw-r--r-- | data/rbot/plugins/script.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |