From 7a128ab6457c9b79ed31a5562be98e1718bfaf80 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 25 Jun 2008 21:33:24 +0200 Subject: script plugin: store channels as strings --- data/rbot/plugins/script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins') diff --git a/data/rbot/plugins/script.rb b/data/rbot/plugins/script.rb index 7a8c0c84..eae14939 100644 --- a/data/rbot/plugins/script.rb +++ b/data/rbot/plugins/script.rb @@ -112,7 +112,7 @@ class ScriptPlugin < Plugin code = params[:code].to_s nick = m.sourcenick created = Time.new.strftime '%Y/%m/%d %H:%m' - channel = m.target + channel = m.target.to_s command = Command.new( code, nick, created, channel ) @commands[name] = command -- cgit v1.2.3