core/modulemanager.lua

changeset 1253
60156584c442
parent 1250
ef053ab86f5e
child 1259
6bd11bca9725
--- 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)

mercurial