Diff

core/modulemanager.lua @ 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
parent 1250:ef053ab86f5e
child 1259:6bd11bca9725
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)