Remove IRC bot-command "whereis"

This commit is contained in:
ANAND 2019-10-08 06:48:10 +05:30
parent d17dce224b
commit 33b40d41c6
No known key found for this signature in database
GPG Key ID: 3AD8A3C4A51AAB97
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,10 @@ minetest.register_privilege("spectate", {
give_to_singleplayer = false
})
if irc then
irc.bot_commands["whereis"] = nil
end
ctf_map.can_cross = function(player)
return minetest.check_player_privs(player, {spectate = true})
end

View File

@ -1,2 +1,3 @@
name = servermods
depends = ctf_stats, ctf_match, email, filter, ctf_playertag
optional_depends = irc