Software /
code /
prosody
Comparison
plugins/mod_muc.lua @ 1056:09821f8ad319
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 | 1055:a970f691e42d |
child | 1066:0cb325970a50 |
comparison
equal
deleted
inserted
replaced
1055:a970f691e42d | 1056:09821f8ad319 |
---|---|
21 if module:get_host_type() ~= "component" then | 21 if module:get_host_type() ~= "component" then |
22 error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0); | 22 error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0); |
23 end | 23 end |
24 | 24 |
25 local muc_domain = module:get_host(); | 25 local muc_domain = module:get_host(); |
26 local muc_name = "MUCMUCMUC!!!"; | 26 local muc_name = "Chatrooms"; |
27 local history_length = 20; | 27 local history_length = 20; |
28 | 28 |
29 -- room_name -> room | 29 -- room_name -> room |
30 -- occupant_room_nick -> data | 30 -- occupant_room_nick -> data |
31 -- affiliation = ... | 31 -- affiliation = ... |