diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-25 12:29:16 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-25 12:29:16 +0000 |
commit | b943c11fb3961dd9c2efc1635431580d97704734 (patch) | |
tree | 63aae19a9d7f0a8d7a2ac75e3579f599b02b4c75 /lib | |
parent | 3c857e1d7e20be89c6041e9eadf9b47ae6be75e9 (diff) |
Fix a bug in config set (particularly important for BotConfigArrayValues)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/config.rb | 2 |
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 |