summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-25 23:41:46 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-25 23:41:46 +0000
commitec6916f0d4c6b4b6e63b39e44daa136fe6614d1d (patch)
tree91af62e5e0bd7116c251f24c94c5a28f72d21035 /data
parent088de492788cba9058eb2bd62c43eaed8d806f61 (diff)
Adapt script plugin to new message mappper. Whitespace in code is now preserved
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/script.rb b/data/rbot/plugins/script.rb
index f559addd..ff45df0b 100644
--- a/data/rbot/plugins/script.rb
+++ b/data/rbot/plugins/script.rb
@@ -79,7 +79,7 @@ class ScriptPlugin < Plugin
return
end
- code = params[:code].join( " " )
+ code = params[:code].to_s
nick = m.sourcenick
created = Time.new.strftime '%Y/%m/%d %H:%m'
channel = m.target