summaryrefslogtreecommitdiff
path: root/lib/rbot/registry/bdb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot/registry/bdb.rb')
-rw-r--r--lib/rbot/registry/bdb.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/registry/bdb.rb b/lib/rbot/registry/bdb.rb
index 2403ec0e..b865770f 100644
--- a/lib/rbot/registry/bdb.rb
+++ b/lib/rbot/registry/bdb.rb
@@ -377,6 +377,7 @@ class Bot
# debug "closing registry #{registry}"
return if !@registry
registry.close
+ @registry = nil
end
# convert value to string form for storing in the registry