summaryrefslogtreecommitdiff
path: root/lib/rbot/registry/bdb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot/registry/bdb.rb')
-rw-r--r--lib/rbot/registry/bdb.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rbot/registry/bdb.rb b/lib/rbot/registry/bdb.rb
index 200e38ee..5acfe491 100644
--- a/lib/rbot/registry/bdb.rb
+++ b/lib/rbot/registry/bdb.rb
@@ -15,6 +15,10 @@ if not defined? BDB
exit 2
end
+module Irc
+ DBFatal = BDB::Fatal
+end
+
if BDB::VERSION_MAJOR < 4
fatal "Your bdb (Berkeley DB) version #{BDB::VERSION} is too old!"
fatal "rbot will only run with bdb version 4 or higher, please upgrade."