diff --git a/commands.rb b/commands.rb index 2ef77d1eb9939825ce67a887b8a1015338568ccf..512cdcfed8f633c51bde202f62eefe19a9fc9a70 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" ) )