aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-05-31 01:17:19 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-05-31 01:17:19 +0500
commit25a09a4d954336ff41459e4aaefe205fb00c5171 (patch)
tree730f774351693ed90976d9d35aaa9a2641d6ad89 /core/modulemanager.lua
parentb31e2b6daad49e1baa3e88f9b8b1dab4054a3ad2 (diff)
downloadprosody-25a09a4d954336ff41459e4aaefe205fb00c5171.tar.gz
prosody-25a09a4d954336ff41459e4aaefe205fb00c5171.zip
modulemanager: Stopped using core.eventmanager in module:fire_event
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index b166682b..d02cb3cd 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -352,9 +352,7 @@ function api:add_event_hook(name, handler)
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)