]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
bdb: message when wrong bdb module is loaded
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 27 Sep 2012 10:23:36 +0000 (12:23 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 27 Sep 2012 10:23:36 +0000 (12:23 +0200)
lib/rbot/registry/bdb.rb

index 8410d8aced93dd9a82e9c52e39809d97b0155e8f..09a2579f7b2128ad3c6de02d2f0dac0645824ec3 100644 (file)
@@ -12,7 +12,7 @@ rescue Exception => e
 end
 
 if not defined? BDB
-  exit 2
+  fatal "A bdb module was found, but it doesn't seem to be one I know about, sorry"
 end
 
 module Irc