diff options
-rw-r--r-- | data/rbot/plugins/lart.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/rbot/plugins/lart.rb b/data/rbot/plugins/lart.rb index 103becb1..fbc1f9e4 100644 --- a/data/rbot/plugins/lart.rb +++ b/data/rbot/plugins/lart.rb @@ -125,25 +125,25 @@ class LartPlugin < Plugin end def handle_addlart(m, params) - @larts << params[:lart] + @larts << params[:lart].to_s @changed = true m.okay end def handle_rmlart(m, params) - @larts.delete params[:lart] + @larts.delete params[:lart].to_s @changed = true m.okay end def handle_addpraise(m, params) - @praises << params[:praise] + @praises << params[:praise].to_s @changed = true m.okay end def handle_rmpraise(m, params) - @praises.delete params[:praise] + @praises.delete params[:praise].to_s @changed = true m.okay end |