diff --git a/init.lua b/init.lua index 8929a6d..fd39b80 100644 --- a/init.lua +++ b/init.lua @@ -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 diff --git a/mod.conf b/mod.conf index bc3c585..25b213f 100644 --- a/mod.conf +++ b/mod.conf @@ -1,2 +1,3 @@ name = servermods depends = ctf_stats, ctf_match, email, filter, ctf_playertag +optional_depends = irc