summaryrefslogtreecommitdiff
path: root/lib/rbot/registry/tc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot/registry/tc.rb')
-rw-r--r--lib/rbot/registry/tc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/registry/tc.rb b/lib/rbot/registry/tc.rb
index 8ffd3e40..06013f8f 100644
--- a/lib/rbot/registry/tc.rb
+++ b/lib/rbot/registry/tc.rb
@@ -376,6 +376,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