Diff

core/sessionmanager.lua @ 3437:1e93b4d46d92

sessionmanager: Remove dependency on eventmanager
author Matthew Wild <mwild1@gmail.com>
date Tue, 03 Aug 2010 10:58:15 +0100
parent 3240:9782a222e941
child 3459:543f31cdde19
line wrap: on
line diff
--- a/core/sessionmanager.lua	Tue Aug 03 10:57:27 2010 +0100
+++ b/core/sessionmanager.lua	Tue Aug 03 10:58:15 2010 +0100
@@ -28,7 +28,7 @@
 local nodeprep = require "util.encodings".stringprep.nodeprep;
 
 local initialize_filters = require "util.filters".initialize;
-local fire_event = require "core.eventmanager".fire_event;
+local fire_event = prosody.events.fire_event;
 local add_task = require "util.timer".add_task;
 local gettime = require "socket".gettime;