rolling-9
parent
36dbf70969
commit
c576ff07bf
2
conf.lua
2
conf.lua
|
@ -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={
|
||||
|
|
10
main.lua
10
main.lua
|
@ -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} }
|
||||
|
|
Loading…
Reference in New Issue