diff options
Diffstat (limited to 'lib/rbot/registry/sqlite.rb')
-rw-r--r-- | lib/rbot/registry/sqlite.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rbot/registry/sqlite.rb b/lib/rbot/registry/sqlite.rb index 89e7d78c..1af5d242 100644 --- a/lib/rbot/registry/sqlite.rb +++ b/lib/rbot/registry/sqlite.rb @@ -29,10 +29,9 @@ class Registry @registry end - def flush - end - def optimize + return unless @registry + @registry.execute('VACUUM') end def [](key) |