diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-09-23 22:31:19 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-09-23 22:31:19 +0200 |
commit | 087b49a36ccfc1af847bad0baca4e41693c36a30 (patch) | |
tree | 449b643afda2e2b8668cba3f2fb36fff5087aab6 /lib | |
parent | c9529b17e30818c145a4f00c70ad31e823ab7561 (diff) |
TokyoCabinet: fix extension in 0.9.9 upgrade path
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/registry/tc.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbot/registry/tc.rb b/lib/rbot/registry/tc.rb index 2c1198ec..b1b811f7 100644 --- a/lib/rbot/registry/tc.rb +++ b/lib/rbot/registry/tc.rb @@ -235,8 +235,8 @@ class Bot } end unless dbs.has_key?(prefix) - log _("creating db #{@bot.botclass}/registry/#{prefix}.db") - dbs[prefix] = TokyoCabinet::CIBDB.open("#{@bot.botclass}/registry/#{prefix}.db", + log _("creating db #{@bot.botclass}/registry/#{prefix}.tdb") + dbs[prefix] = TokyoCabinet::CIBDB.open("#{@bot.botclass}/registry/#{prefix}.tdb", TokyoCabinet::CIBDB::OREADER | TokyoCabinet::CIBDB::OCREAT | TokyoCabinet::CIBDB::OWRITER) end dbs[prefix][key] = v |