summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--lib/rbot/registry.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f153a45..99317091 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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