changing privs from "faction_" to "factions_"

master
Juraj Vajda 2016-01-19 19:39:36 +00:00
parent e0238f9359
commit 820a872437
1 changed files with 5 additions and 5 deletions

View File

@ -25,14 +25,14 @@ factions_chat = {}
-------------------------------------------------------------------------------
function factions_chat.init()
minetest.register_privilege("faction_user",
minetest.register_privilege("factions_user",
{
description = "this user is allowed to interact with faction mod",
give_to_singleplayer = true,
}
)
minetest.register_privilege("faction_admin",
minetest.register_privilege("factions_admin",
{
description = "this user is allowed to create or delete factions",
give_to_singleplayer = true,
@ -43,7 +43,7 @@ function factions_chat.init()
{
params = "<cmd> <parameter 1> .. <parameter n>",
description = "faction administration functions",
privs = { faction_user=true },
privs = { factions_user=true },
func = factions_chat.cmdhandler,
}
)
@ -52,7 +52,7 @@ function factions_chat.init()
{
params = "text",
description = "send message to all factions",
privs = { faction_user=true },
privs = { factions_user=true },
func = factions_chat.allfactions_chathandler,
}
)
@ -61,7 +61,7 @@ function factions_chat.init()
{
params = "<factionname> text",
description = "send message to a specific faction",
privs = { faction_user=true },
privs = { factions_user=true },
func = factions_chat.chathandler,
}
)