summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias H <apoc@sixserv.org>2014-02-18 22:54:46 +0100
committerMatthias H <apoc@sixserv.org>2014-02-18 22:54:46 +0100
commite1746ac23bfcd679d19a923438ad434f602f05c4 (patch)
tree09936ff7e9d019e3c6d18ff4ed0a41e2d99c2d16
parenta043bcf9dd268cec5c9bdfc09dab7fcb0fc33644 (diff)
[registry] removed temp logging
-rw-r--r--lib/rbot/registry/dbm.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/rbot/registry/dbm.rb b/lib/rbot/registry/dbm.rb
index fb684d5f..7c309c7f 100644
--- a/lib/rbot/registry/dbm.rb
+++ b/lib/rbot/registry/dbm.rb
@@ -84,13 +84,7 @@ class Registry
end
def registry
- #debug 'access registry (cached)' if @registry
- #@registry ||= DBM.open(@filename, 0666, DBM::WRCREAT)
- if not @registry
- debug 'open registry, ' + @filename
- @registry = DBM.open(@filename, 0666, DBM::WRCREAT)
- end
- @registry
+ @registry ||= DBM.open(@filename, 0666, DBM::WRCREAT)
end
def flush