super
if @registry.has_key?(:reactions)
@reactions = @registry[:reactions]
- raise unless @reactions
+ raise LoadError, "corrupted reaction database" unless @reactions
else
@reactions = []
end
}
@feeds = @registry[:feeds]
- raise unless @feeds
+ raise LoadError, "corrupted feed database" unless @feeds
@registry.recovery = nil
super
if @registry.has_key?(:commands)
@commands = @registry[:commands]
- raise unless @commands
+ raise LoadError, "corrupted script database" unless @commands
else
@commands = Hash.new
end