changeset 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
parents db5702bb9e41
children bbe4df968099
files mod_archive_muc/mod_archive_muc.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_archive_muc/mod_archive_muc.lua	Thu Nov 10 11:45:32 2011 +0100
+++ b/mod_archive_muc/mod_archive_muc.lua	Thu Nov 17 20:24:46 2011 +0500
@@ -17,6 +17,8 @@
 
 local AUTO_MUC_ARCHIVING_ENABLED = module:get_option_boolean("auto_muc_archiving_enabled", true);
 
+local NULL = {};
+
 module:add_feature("urn:xmpp:archive#preferences");
 module:add_feature("urn:xmpp:archive#management");