From 7f244f32d974cafa74f449853f940f194d08d6d2 Mon Sep 17 00:00:00 2001 From: David Gadling Date: Thu, 21 May 2009 11:53:19 -0700 Subject: 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. --- data/rbot/plugins/lart.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/rbot/plugins/lart.rb') 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 -- cgit v1.2.3