summaryrefslogtreecommitdiff
path: root/lib/rbot/registry.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-06-08 12:41:29 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-06-08 12:41:29 +0000
commit8483e916ca3f1bc5450dc8c6966786b6958c2465 (patch)
tree0253a40e1ab394df4920763a5c84fb71439e45ce /lib/rbot/registry.rb
parent3cbc27d7c9eeabc3ad4a8c974e3737cc9a20f1c0 (diff)
Improved handling of database handling and cleanup during shutdown
Diffstat (limited to 'lib/rbot/registry.rb')
-rw-r--r--lib/rbot/registry.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rbot/registry.rb b/lib/rbot/registry.rb
index 24093311..580bfb5b 100644
--- a/lib/rbot/registry.rb
+++ b/lib/rbot/registry.rb
@@ -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