summaryrefslogtreecommitdiff
path: root/lib/rbot/config.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-25 12:11:41 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-25 12:11:41 +0000
commit3c857e1d7e20be89c6041e9eadf9b47ae6be75e9 (patch)
tree0dae84b2466c93e18c92e9d7d2badb8f7b89439e /lib/rbot/config.rb
parent8999a6cae7ebb83c409ffa762d9f525611e3a797 (diff)
Forgot to stringify an instance of key
Diffstat (limited to 'lib/rbot/config.rb')
-rw-r--r--lib/rbot/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/config.rb b/lib/rbot/config.rb
index e1a09c4a..44f16918 100644
--- a/lib/rbot/config.rb
+++ b/lib/rbot/config.rb
@@ -205,7 +205,7 @@ module Irc
modules = []
if params[:module]
@@items.each_key do |key|
- mod, name = key.split('.')
+ mod, name = key.to_s.split('.')
next unless mod == params[:module]
modules.push key unless modules.include?(name)
end