Software /
code /
prosody
Changeset
1253:60156584c442
modulemanager: Stopped using core.eventmanager in module:fire_event
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 31 May 2009 01:17:19 +0500 |
parents | 1252:350534579ba3 |
children | 1254:c199be608546 |
files | core/modulemanager.lua |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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)