diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-25 21:33:24 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-25 21:33:43 +0200 |
commit | 7a128ab6457c9b79ed31a5562be98e1718bfaf80 (patch) | |
tree | 6b2e25b70e287c7177601790ab395153ad0f45ec | |
parent | 2962912178d5def0f3f4b4d8a42b726bb43e228d (diff) |
script plugin: store channels as strings
-rw-r--r-- | data/rbot/plugins/script.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |