]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/reaction.rb
quotes plugin: 'other channel' commands must be mapped earlier
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / reaction.rb
index d358000c8582945ee5961a5468cd63221dad6535..ee338e2d38dae244e6487f1a5150dc5663f14956 100644 (file)
@@ -170,7 +170,7 @@ class ReactionPlugin < Plugin
     super
     if @registry.has_key?(:reactions)
       @reactions = @registry[:reactions]
-      raise unless @reactions
+      raise LoadError, "corrupted reaction database" unless @reactions
     else
       @reactions = []
     end