From 2e565b2ab986b8c4ba3f8db22857f6f6566ced38 Mon Sep 17 00:00:00 2001 From: crabman77 Date: Sun, 15 Mar 2015 15:54:49 +0100 Subject: [PATCH] add privs interact to use chatcommands --- mods/soundset/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/soundset/init.lua b/mods/soundset/init.lua index 72876610..503dfe41 100644 --- a/mods/soundset/init.lua +++ b/mods/soundset/init.lua @@ -85,14 +85,14 @@ load_sounds_config() minetest.register_chatcommand("setsound", { params = " ", description = "set volume sound ", - privs = {}, + privs = {interact=true}, func = sounds.set_sound, }) minetest.register_chatcommand("getsound", { params = "", description = "print volume sound ", - privs = {}, + privs = {interact=true}, func = function(name, param) local conf = "" for k, v in pairs(sounds.gainplayers[name]) do