From 3c857e1d7e20be89c6041e9eadf9b47ae6be75e9 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 25 Jul 2006 12:11:41 +0000 Subject: [PATCH] Forgot to stringify an instance of key --- lib/rbot/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2