summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-25 12:29:16 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-25 12:29:16 +0000
commitb943c11fb3961dd9c2efc1635431580d97704734 (patch)
tree63aae19a9d7f0a8d7a2ac75e3579f599b02b4c75 /lib/rbot
parent3c857e1d7e20be89c6041e9eadf9b47ae6be75e9 (diff)
Fix a bug in config set (particularly important for BotConfigArrayValues)
Diffstat (limited to 'lib/rbot')
-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 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