mods - governing - remove array of moderators, we need towork

This commit is contained in:
mckaygerhard 2024-04-16 15:10:20 -04:00
parent bce03af128
commit 44cc719952

View File

@ -74,13 +74,6 @@ minetest.register_on_joinplayer(function(player)
name = name .. " is a bot confirmed, also" name = name .. " is a bot confirmed, also"
end end
msgsys = "[governing] can't retrieve info, player '" .. name .. "' disappeared or seems craker" msgsys = "[governing] can't retrieve info, player '" .. name .. "' disappeared or seems craker"
minetest.after(0.1, function()
if cheat and cheat.moderators then
for namemd,_ in pairs(cheat.moderators) do
minetest.chat_send_player(namemd,msgsys);
end
end
end)
minetest.log("warning", msgsys) minetest.log("warning", msgsys)
else else
info = minetest.get_player_information(name) info = minetest.get_player_information(name)
@ -92,7 +85,6 @@ minetest.register_on_joinplayer(function(player)
" serialization_version:" .. (info.serialization_version or "20?") .. " serialization_version:" .. (info.serialization_version or "20?") ..
" version_string:" .. (info.version_string or "not supported") " version_string:" .. (info.version_string or "not supported")
minetest.log("action", msgsys) minetest.log("action", msgsys)
end end
if info.version_string then if info.version_string then