From ec6916f0d4c6b4b6e63b39e44daa136fe6614d1d Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 25 Aug 2006 23:41:46 +0000 Subject: Adapt script plugin to new message mappper. Whitespace in code is now preserved --- data/rbot/plugins/script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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 -- cgit v1.2.3