Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

3 changed files with 10 additions and 7 deletions

1
depends.txt Executable file
View File

@ -0,0 +1 @@
irc?

View File

@ -27,8 +27,15 @@ minetest.register_privilege("fp_create","Is able to create FailPoints and give t
-- Check configuration fields -- Check configuration fields
data.PUB_MSG = minetest.settings:get_bool("fp_pubmsg", false) data.PUB_MSG = false
data.STRICT_PLAYER_CHECK = minetest.settings:get_bool("fp_strict_checking", true) data.STRICT_PLAYER_CHECK = true
if minetest.setting_getbool("fp_pubmsg") ~= nil then
data.PUB_MSG = minetest.setting_getbool("fp_pubmsg")
end
if minetest.setting_getbool("fp_strict_checking") ~= nil then
data.STRICT_PLAYER_CHECK = minetest.setting_getbool("fp_strict_checking")
end
-- Configuration application -- Configuration application
@ -200,5 +207,3 @@ minetest.register_chatcommand("fail", {
-- Create the same things for cookies -- Create the same things for cookies
dofile(minetest.get_modpath("fail").."/cookie.lua") dofile(minetest.get_modpath("fail").."/cookie.lua")
minetest.log("action", "[fail] loaded.")

View File

@ -1,3 +0,0 @@
name = fail
description = Receive and give cookies and FailPoints.
optional_depends = irc