Заменить требуемую привилегию на mute
This commit is contained in:
parent
ea579e8a59
commit
00c7af74f9
2
init.lua
2
init.lua
@ -208,7 +208,7 @@ minetest.after(10*60, step)
|
||||
minetest.register_chatcommand("filter", {
|
||||
params = S("filter server"),
|
||||
description = S("manage swear word filter"),
|
||||
privs = {server = true},
|
||||
privs = {mute = true},
|
||||
func = function(name, param)
|
||||
local cmd, val = param:match("(%w+) (.+)")
|
||||
if param == "list" then
|
||||
|
Loading…
Reference in New Issue
Block a user