summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/registry/tc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/registry/tc.rb b/lib/rbot/registry/tc.rb
index 9f410484..b735927c 100644
--- a/lib/rbot/registry/tc.rb
+++ b/lib/rbot/registry/tc.rb
@@ -131,7 +131,7 @@ module Irc
if File.exists? oldbasename and defined? BDB
# upgrading
warning "Upgrading old database #{oldbasename}..."
- oldb = ::BDB::Btree.open(oldbasename, nil, "r", 0600)
+ oldb = ::BDB::CIBtree.open(oldbasename, nil, "r", 0600)
oldb.each_key do |k|
@db.outlist k
@db.putlist k, (oldb.duplicates(k, false))