]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Adapt script plugin to new message mappper. Whitespace in code is now preserved
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 25 Aug 2006 23:41:46 +0000 (23:41 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 25 Aug 2006 23:41:46 +0000 (23:41 +0000)
data/rbot/plugins/script.rb

index f559addd6941ed79a0d7310e751958200883163d..ff45df0bfd91100caec9d8da8bd8822822237adf 100644 (file)
@@ -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