diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/rbot/registry.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2006-08-12 Giuseppe Bilotta <giuseppe.bilotta@gmail.com> + + * Subregistry: force prefix to be a String with to_s + 2006-08-11 Giuseppe Bilotta <giuseppe.bilotta@gmail.com> * AutoOp plugin: adapted to the new IRC framework. diff --git a/lib/rbot/registry.rb b/lib/rbot/registry.rb index cb59306c..a3c55da8 100644 --- a/lib/rbot/registry.rb +++ b/lib/rbot/registry.rb @@ -298,7 +298,7 @@ module Irc end def sub_registry(prefix) - return BotRegistryAccessor.new(@bot, @name + "/" + prefix) + return BotRegistryAccessor.new(@bot, @name + "/" + prefix.to_s) end # returns the number of keys in your registry namespace |