|
1 -- Prosody IM |
|
2 -- Copyright (C) 2008-2009 Matthew Wild |
|
3 -- Copyright (C) 2008-2009 Waqas Hussain |
|
4 -- |
|
5 -- This project is MIT/X11 licensed. Please see the |
|
6 -- COPYING file in the source package for more information. |
|
7 -- |
|
8 |
1 |
9 |
2 if module:get_host_type() ~= "component" then |
10 if module:get_host_type() ~= "component" then |
3 error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0); |
11 error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0); |
4 end |
12 end |
5 |
13 |