diff options
Diffstat (limited to 'lib/rbot/registry/tc.rb')
-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 |