Software /
code /
prosody
Comparison
prosody @ 1242:6c459c279bbe
Added new prosody.events object
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 31 May 2009 00:34:08 +0500 |
parent | 1239:335d9a612477 |
child | 1298:4e0db19e5f1c |
comparison
equal
deleted
inserted
replaced
1241:9c53fb182044 | 1242:6c459c279bbe |
---|---|
83 prosody.paths = { source = CFG_SOURCEDIR, config = CFG_CONFIGDIR, | 83 prosody.paths = { source = CFG_SOURCEDIR, config = CFG_CONFIGDIR, |
84 plugins = CFG_PLUGINDIR, data = CFG_DATADIR }; | 84 plugins = CFG_PLUGINDIR, data = CFG_DATADIR }; |
85 | 85 |
86 prosody.arg = arg; | 86 prosody.arg = arg; |
87 | 87 |
88 prosody.events = require "util.events".new(); | |
89 | |
88 --- Load and initialise core modules | 90 --- Load and initialise core modules |
89 require "util.import" | 91 require "util.import" |
90 require "core.xmlhandlers" | 92 require "core.xmlhandlers" |
91 require "core.rostermanager" | 93 require "core.rostermanager" |
92 require "core.eventmanager" | 94 require "core.eventmanager" |