summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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