Clean up some warnings

bug/bundler_fix
James Lee 2016-01-04 16:02:43 -06:00
parent 05d8f9d186
commit 2dd59a932b
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 5 additions and 5 deletions

View File

@ -1169,7 +1169,7 @@ class Core
output += "\n"
end
print(output +"\n")
print(output + "\n")
else
print_line("Invalid Thread ID")
end
@ -1251,7 +1251,7 @@ class Core
print_status("Successfully loaded plugin: #{inst.name}")
end
rescue ::Exception => e
elog("Error loading plugin #{path}: #{e}\n\n#{e.backtrace.join("\n")}", src = 'core', level = 0, from = caller)
elog("Error loading plugin #{path}: #{e}\n\n#{e.backtrace.join("\n")}", 'core', 0, caller)
print_error("Failed to load plugin from #{path}: #{e}")
end
end
@ -2222,7 +2222,7 @@ class Core
end
mod.options.sorted.each { |e|
name, opt = e
name, _opt = e
res << name
}
@ -2244,7 +2244,7 @@ class Core
p = framework.payloads.create(mod.datastore['PAYLOAD'])
if (p)
p.options.sorted.each { |e|
name, opt = e
name, _opt = e
res << name
}
end