Diff

core/eventmanager2.lua @ 1243:cd004d83a12a

core.eventmanager2: Now uses the new prosody.events object
author Waqas Hussain <waqas20@gmail.com>
date Sun, 31 May 2009 00:41:53 +0500
parent 1008:da7691ebec9c
line wrap: on
line diff
--- a/core/eventmanager2.lua	Sun May 31 00:34:08 2009 +0500
+++ b/core/eventmanager2.lua	Sun May 31 00:41:53 2009 +0500
@@ -1,5 +1,5 @@
 
-local events = require "util.events".new();
+local events = prosody.events;
 
 module "eventmanager"