From 328616d24e31452f7dbad77c182b1eaec37a7f7b Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 27 Aug 2017 19:09:59 +0200 Subject: [PATCH] Fix command perms that were accidentally renamed --- evennia/commands/default/account.py | 10 +++++----- evennia/commands/default/comms.py | 4 ++-- evennia/commands/default/system.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/evennia/commands/default/account.py b/evennia/commands/default/account.py index 912a2a0a2b..01b7066fe3 100644 --- a/evennia/commands/default/account.py +++ b/evennia/commands/default/account.py @@ -121,7 +121,7 @@ class CmdCharCreate(COMMAND_DEFAULT_CLASS): if you want. """ key = "@charcreate" - locks = "cmd:pperm(Account)" + locks = "cmd:pperm(Player)" help_category = "General" # this is used by the parent @@ -183,7 +183,7 @@ class CmdCharDelete(COMMAND_DEFAULT_CLASS): Permanently deletes one of your characters. """ key = "@chardelete" - locks = "cmd:pperm(Account)" + locks = "cmd:pperm(Player)" help_category = "General" def func(self): @@ -298,7 +298,7 @@ class CmdOOC(MuxAccountLookCommand): """ key = "@ooc" - locks = "cmd:pperm(Account)" + locks = "cmd:pperm(Player)" aliases = "@unpuppet" help_category = "General" @@ -608,7 +608,7 @@ class CmdPassword(COMMAND_DEFAULT_CLASS): Changes your password. Make sure to pick a safe one. """ key = "@password" - locks = "cmd:pperm(Account)" + locks = "cmd:pperm(Player)" # this is used by the parent account_caller = True @@ -803,7 +803,7 @@ class CmdQuell(COMMAND_DEFAULT_CLASS): key = "@quell" aliases = ["@unquell"] - locks = "cmd:pperm(Account)" + locks = "cmd:pperm(Player)" help_category = "General" # this is used by the parent diff --git a/evennia/commands/default/comms.py b/evennia/commands/default/comms.py index e2f5b6aa23..53e047a2ac 100644 --- a/evennia/commands/default/comms.py +++ b/evennia/commands/default/comms.py @@ -453,7 +453,7 @@ class CmdCemit(COMMAND_DEFAULT_CLASS): key = "@cemit" aliases = ["@cmsg"] - locks = "cmd: not pperm(channel_banned) and pperm(Account)" + locks = "cmd: not pperm(channel_banned) and pperm(Player)" help_category = "Comms" # this is used by the COMMAND_DEFAULT_CLASS parent @@ -530,7 +530,7 @@ class CmdChannelCreate(COMMAND_DEFAULT_CLASS): key = "@ccreate" aliases = "channelcreate" - locks = "cmd:not pperm(channel_banned) and pperm(Account)" + locks = "cmd:not pperm(channel_banned) and pperm(Player)" help_category = "Comms" # this is used by the COMMAND_DEFAULT_CLASS parent diff --git a/evennia/commands/default/system.py b/evennia/commands/default/system.py index 49c8d48032..2e8a99fbc1 100644 --- a/evennia/commands/default/system.py +++ b/evennia/commands/default/system.py @@ -644,7 +644,7 @@ class CmdTime(COMMAND_DEFAULT_CLASS): """ key = "@time" aliases = "@uptime" - locks = "cmd:perm(time) or perm(Account)" + locks = "cmd:perm(time) or perm(Player)" help_category = "System" def func(self):