diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-12-16 22:20:46 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-12-16 22:20:46 +0000 |
commit | e275b12c6eb6ab820902c3d79691a7c3ad02ec3a (patch) | |
tree | 3bb7b9d77bccaf5ed2a18b5e3035772901a23133 /lib | |
parent | 8610d6aef936b05126fc9b38af7233d6493d6627 (diff) |
* (registry) no infinite recursion, please
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/registry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/registry.rb b/lib/rbot/registry.rb index 41f9747f..b85a6224 100644 --- a/lib/rbot/registry.rb +++ b/lib/rbot/registry.rb @@ -216,7 +216,7 @@ class Bot end def default - @default && (@default.dup rescue default) + @default && (@default.dup rescue @default) end # just like Hash#each |