summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/dbhash.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbot/dbhash.rb b/lib/rbot/dbhash.rb
index 0c09e17c..5433bf90 100644
--- a/lib/rbot/dbhash.rb
+++ b/lib/rbot/dbhash.rb
@@ -70,7 +70,8 @@ module Irc
@bot = bot
@key = key
if @@env.nil?
- @@env = BDB::Env.open("#{@bot.botclass}", BDB::INIT_TRANSACTION | BDB::CREATE | BDB::RECOVER)
+ #@@env = BDB::Env.open("#{@bot.botclass}", BDB::INIT_TRANSACTION | BDB::CREATE | BDB::RECOVER)
+ @@env = BDB::Env.open("#{@bot.botclass}", BDB::CREATE | BDB::INIT_MPOOL | BDB::RECOVER)
end
if absfilename && File.exist?(key)