Software /
code /
prosody
Comparison
plugins/mod_muc.lua @ 1060:fb3b2de0eb2f
mod_muc: The default component name is now 'Chatrooms'
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 24 Apr 2009 00:35:50 +0500 |
parent | 1059:aed462ef09d8 |
child | 1065:3806173670f2 |
comparison
equal
deleted
inserted
replaced
1059:aed462ef09d8 | 1060:fb3b2de0eb2f |
---|---|
19 if module:get_host_type() ~= "component" then | 19 if module:get_host_type() ~= "component" then |
20 error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0); | 20 error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0); |
21 end | 21 end |
22 | 22 |
23 local muc_domain = module:get_host(); | 23 local muc_domain = module:get_host(); |
24 local muc_name = "MUCMUCMUC!!!"; | 24 local muc_name = "Chatrooms"; |
25 local history_length = 20; | 25 local history_length = 20; |
26 | 26 |
27 -- room_name -> room | 27 -- room_name -> room |
28 -- occupant_room_nick -> data | 28 -- occupant_room_nick -> data |
29 -- affiliation = ... | 29 -- affiliation = ... |