From b943c11fb3961dd9c2efc1635431580d97704734 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 25 Jul 2006 12:29:16 +0000 Subject: Fix a bug in config set (particularly important for BotConfigArrayValues) --- lib/rbot/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/rbot/config.rb b/lib/rbot/config.rb index 44f16918..173f3337 100644 --- a/lib/rbot/config.rb +++ b/lib/rbot/config.rb @@ -253,7 +253,7 @@ module Irc def handle_set(m, params) key = params[:key].to_s.intern - value = params[:value].to_s + value = params[:value].join(" ") unless @@items.has_key?(key) m.reply "no such config key #{key}" return -- cgit v1.2.3