--- a/core/modulemanager.lua Sun May 31 01:15:15 2009 +0500 +++ b/core/modulemanager.lua Sun May 31 01:17:19 2009 +0500 @@ -352,9 +352,7 @@ end function api:fire_event(...) - local r = (hosts[self.host] or prosody).events.fire_event(...); - if r ~= nil then return r; end - return eventmanager.fire_event(...); + return (hosts[self.host] or prosody).events.fire_event(...); end function api:hook(event, handler)