# HG changeset patch # User Matthew Wild # Date 1327258053 0 # Node ID c6480d17be1e07a3cd8ee41ae9ecc7f6d3efbfe3 # Parent d8dbf569766c7b930a29850e8777673a9e622227 modulemanager: Drop unnecessary prosody_events local diff -r d8dbf569766c -r c6480d17be1e core/modulemanager.lua --- a/core/modulemanager.lua Sun Jan 22 18:46:17 2012 +0000 +++ b/core/modulemanager.lua Sun Jan 22 18:47:33 2012 +0000 @@ -15,7 +15,6 @@ local hosts = hosts; local prosody = prosody; -local prosody_events = prosody.events; local loadfile, pcall, xpcall = loadfile, pcall, xpcall; local setmetatable, setfenv, getfenv = setmetatable, setfenv, getfenv; @@ -87,8 +86,7 @@ load(host, module); end end -prosody_events.add_handler("host-activated", load_modules_for_host); --- +prosody.events.add_handler("host-activated", load_modules_for_host); --- Private helpers ---