Land #4 @jvazquez-r7's bug fix for on_session_module_run

bug/bundler_fix
Spencer McIntyre 2014-02-11 17:03:21 -05:00
commit 303ed9a85e
No known key found for this signature in database
GPG Key ID: C00D6B6AA5E15412
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ protected
# Grab the session object since we need to fire an event for not
# only the normal module_run event that all module types have to
# report, but a specific event for sessions as well.
s = mod.framework.sessions[mod.datastore["SESSION"]]
s = mod.framework.sessions.get(mod.datastore["SESSION"].to_i)
mod.framework.events.on_session_module_run(s, mod)
mod.run
rescue ::Timeout::Error => e