]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/registry.rb
Improved handling of database handling and cleanup during shutdown
[user/henk/code/ruby/rbot.git] / lib / rbot / registry.rb
index 240933111edee417be6d5ade397333f3a255b503..580bfb5b272081a656027da46f0b1cd3d81f3278 100644 (file)
@@ -119,6 +119,11 @@ module Irc
 
     def flush
       @registry.flush
+      @registry.sync
+    end
+
+    def close
+      @registry.close
     end
 
     # convert value to string form for storing in the registry