Software /
code /
prosody-modules
Comparison
mod_archive_muc/mod_archive_muc.lua @ 476:2c85635318a5
mod_archive_muc: Fixed a nil global access.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 17 Nov 2011 20:24:46 +0500 |
parent | 243:6202ce4d12d6 |
child | 477:bbe4df968099 |
comparison
equal
deleted
inserted
replaced
475:db5702bb9e41 | 476:2c85635318a5 |
---|---|
14 | 14 |
15 local PREFS_DIR = "archive_muc_prefs"; | 15 local PREFS_DIR = "archive_muc_prefs"; |
16 local ARCHIVE_DIR = "archive_muc"; | 16 local ARCHIVE_DIR = "archive_muc"; |
17 | 17 |
18 local AUTO_MUC_ARCHIVING_ENABLED = module:get_option_boolean("auto_muc_archiving_enabled", true); | 18 local AUTO_MUC_ARCHIVING_ENABLED = module:get_option_boolean("auto_muc_archiving_enabled", true); |
19 | |
20 local NULL = {}; | |
19 | 21 |
20 module:add_feature("urn:xmpp:archive#preferences"); | 22 module:add_feature("urn:xmpp:archive#preferences"); |
21 module:add_feature("urn:xmpp:archive#management"); | 23 module:add_feature("urn:xmpp:archive#management"); |
22 | 24 |
23 ------------------------------------------------------------ | 25 ------------------------------------------------------------ |