1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
module:hook("muc-config-form", function(event)
table.insert(event.form, {
type = "fixed";
value = "Room information";
});
end, 100);
module:hook("muc-config-form", function(event)
table.insert(event.form, {
type = "fixed";
value = "Access to the room";
});
end, 90);
module:hook("muc-config-form", function(event)
table.insert(event.form, {
type = "fixed";
value = "Permissions in the room";
});
end, 80);
module:hook("muc-config-form", function(event)
table.insert(event.form, {
type = "fixed";
value = "Other options";
});
end, 70);
|