Commit e1150df9 authored by Cool Fire's avatar Cool Fire

Fix missing variable

parent bcaaedfd
Pipeline #113 passed with stages
in 5 minutes and 44 seconds
......@@ -165,6 +165,7 @@ class Commands
# Check file exists
if( FileTest.file?( @config.plugindir + "/" + plugin + ".rb" ) )
object = nil
# Check syntax & load
begin
# Try to load the plugin
......@@ -190,6 +191,7 @@ class Commands
if( con )
@output.cbad( "Failed to load plugin:\n" )
@output.cinfo( e.to_s + "\n" )
@output.debug( "Working on object: #{object.inspect}" )
else
@irc.notice( nick, "Failed to load plugin: " + e.to_s )
end
......
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