rolling-9

master
Lars Mueller 2020-04-05 10:43:29 +02:00
parent 36dbf70969
commit c576ff07bf
2 changed files with 2 additions and 10 deletions

View File

@ -6,7 +6,7 @@ local schemedef={children={
message_suffix={type="string"},
}}
local conf_spec={type="table", children={
local conf_spec={type="table", required_children={
schemes={type="table", required_children={
minetest=schemedef
}, possible_children={

View File

@ -59,15 +59,7 @@ end
channels={} --channelname -> definition : {hud_pos, mode, autoremove, max_messages, max_lines, wrap_chars, smartwrap}
roles={} -- Role -> players -> true
if roles_case_insensitive then
-- change indexing to always use lower
setmetatable(roles, {
__index = function(table, key)
return table[key:lower()]
end,
__newindex = function(table, key, value)
table[key:lower()] = value
end
})
modlib.table.set_case_insensitive_index(teams)
end
chatters={} -- Chatter -> stuff
to_be_sent={} --Receiver -> { {sender, message, date, time} }