summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/lart.rb
diff options
context:
space:
mode:
authorDavid Gadling <dave@toasterwaffles.com>2009-05-21 11:53:19 -0700
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-05-21 22:09:28 +0200
commit7f244f32d974cafa74f449853f940f194d08d6d2 (patch)
treeb72684ce149254edaf2dba993c409a640cc43086 /data/rbot/plugins/lart.rb
parentd8fd18fe30013ba7705aaeb5dd4521cbe013b824 (diff)
multiple plugins: Changes to remove parenthesize warnings.
All of these modules/plugins were generating warnings like this: warning: parenthesize argument(s) for future version This patch should fix all the warnings without affecting functionality.
Diffstat (limited to 'data/rbot/plugins/lart.rb')
-rw-r--r--data/rbot/plugins/lart.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/lart.rb b/data/rbot/plugins/lart.rb
index 4c945889..aeaad733 100644
--- a/data/rbot/plugins/lart.rb
+++ b/data/rbot/plugins/lart.rb
@@ -45,8 +45,8 @@ class LartPlugin < Plugin
@oldpraise = datafile 'praise'
end
- @lartfile.replace(datafile "larts-#{lang}")
- @praisefile.replace(datafile "praises-#{lang}")
+ @lartfile.replace(datafile("larts-#{lang}"))
+ @praisefile.replace(datafile("praises-#{lang}"))
@larts.clear
@praises.clear
if File.exists? @lartfile