From e3161f3e879b9dbfa1e0cce6b8b66993179794ba Mon Sep 17 00:00:00 2001 From: Cool Fire Date: Sat, 31 Dec 2016 03:33:19 +0100 Subject: [PATCH] More broken vars because bad stuff --- commands.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.rb b/commands.rb index 2ef77d1..512cdcf 100644 --- a/commands.rb +++ b/commands.rb @@ -99,7 +99,7 @@ class Commands # See if such a method exists in this plugin and isn't protected, if so, call it if( plugin.respond_to?( function ) && !@protected.include?( function ) ) - eval( "plugin.#{function}( nick, user, host, from, msg, arguments, con )" ) + eval( "plugin.#{function}( nick, user, host, from, msg, _arguments, con )" ) else # Call default method with the function as argument if( plugin.respond_to?( "main" ) ) -- GitLab