client.framework, there's no top-level framework obj in rex. see #3557

git-svn-id: file:///home/svn/framework3/trunk@11670 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-01-29 16:46:41 +00:00
parent 4f3cdf0b26
commit 05022b6fe4
1 changed files with 2 additions and 2 deletions

View File

@ -370,9 +370,9 @@ class Console::CommandDispatcher::Core
# fall back to using the scripting interface.
if (msf_loaded? and mod = client.framework.modules.create(script_name))
omod = mod
mod = framework.modules.reload_module(mod)
mod = client.framework.modules.reload_module(mod)
if (not mod)
print_error("Failed to reload module: #{framework.modules.failed[omod.file_path]}")
print_error("Failed to reload module: #{client.framework.modules.failed[omod.file_path]}")
return
end
opts = (args + [ "SESSION=#{client.sid}" ]).join(',')