diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-06-08 12:41:29 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-06-08 12:41:29 +0000 |
commit | 8483e916ca3f1bc5450dc8c6966786b6958c2465 (patch) | |
tree | 0253a40e1ab394df4920763a5c84fb71439e45ce /lib/rbot/registry.rb | |
parent | 3cbc27d7c9eeabc3ad4a8c974e3737cc9a20f1c0 (diff) |
Improved handling of database handling and cleanup during shutdown
Diffstat (limited to 'lib/rbot/registry.rb')
-rw-r--r-- | lib/rbot/registry.rb | 5 |
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 |