Retire szutil_revokeme

The functionality is now 3+ years old in base so there
is no longer any excuse for needing a polyfill.
This commit is contained in:
Aaron Suen 2023-11-11 10:05:40 -05:00
parent 5e79e17b89
commit 0fc497dc48
3 changed files with 0 additions and 24 deletions

View File

@ -1,5 +0,0 @@
------------------------------------------------------------------------
This mod simply fixes the missing /revokeme admin command.
------------------------------------------------------------------------

View File

@ -1,16 +0,0 @@
-- LUALOCALS < ---------------------------------------------------------
local minetest
= minetest
-- LUALOCALS > ---------------------------------------------------------
local revoke = minetest.registered_chatcommands.revoke
if revoke and not minetest.registered_chatcommands.revokeme then
minetest.register_chatcommand("revokeme", {
params = "<privilege> | all",
description = "Revoke privileges from yourself",
privs = revoke.privs,
func = function(pname, param)
return revoke.func(pname, pname .. " " .. param)
end
})
end

View File

@ -1,3 +0,0 @@
name = szutil_revokeme
description = Fixes missing /revokeme admin command
supported_games = *