Comparison

plugins/muc/mod_muc.lua @ 5807:d7212bd61b60

mod_muc: Import util.array
author Matthew Wild <mwild1@gmail.com>
date Fri, 30 Aug 2013 14:10:51 +0100
parent 5776:bd0ff8ae98a8
child 5808:026367992a0f
comparison
equal deleted inserted replaced
5806:c914f4322581 5807:d7212bd61b60
4 -- 4 --
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 local array = require "util.array";
9 10
10 if module:get_host_type() ~= "component" then 11 if module:get_host_type() ~= "component" then
11 error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0); 12 error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0);
12 end 13 end
13 14