Commit e3161f3e authored by Cool Fire's avatar Cool Fire

More broken vars because bad stuff

parent e1150df9
Pipeline #114 passed with stages
in 7 minutes and 55 seconds
...@@ -99,7 +99,7 @@ class Commands ...@@ -99,7 +99,7 @@ class Commands
# See if such a method exists in this plugin and isn't protected, if so, call it # 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 ) ) 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 else
# Call default method with the function as argument # Call default method with the function as argument
if( plugin.respond_to?( "main" ) ) if( plugin.respond_to?( "main" ) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment