Fix command perms that were accidentally renamed

This commit is contained in:
Griatch 2017-08-27 19:09:59 +02:00
parent 90fde4a10a
commit 328616d24e
3 changed files with 8 additions and 8 deletions

View file

@ -121,7 +121,7 @@ class CmdCharCreate(COMMAND_DEFAULT_CLASS):
if you want. if you want.
""" """
key = "@charcreate" key = "@charcreate"
locks = "cmd:pperm(Account)" locks = "cmd:pperm(Player)"
help_category = "General" help_category = "General"
# this is used by the parent # this is used by the parent
@ -183,7 +183,7 @@ class CmdCharDelete(COMMAND_DEFAULT_CLASS):
Permanently deletes one of your characters. Permanently deletes one of your characters.
""" """
key = "@chardelete" key = "@chardelete"
locks = "cmd:pperm(Account)" locks = "cmd:pperm(Player)"
help_category = "General" help_category = "General"
def func(self): def func(self):
@ -298,7 +298,7 @@ class CmdOOC(MuxAccountLookCommand):
""" """
key = "@ooc" key = "@ooc"
locks = "cmd:pperm(Account)" locks = "cmd:pperm(Player)"
aliases = "@unpuppet" aliases = "@unpuppet"
help_category = "General" help_category = "General"
@ -608,7 +608,7 @@ class CmdPassword(COMMAND_DEFAULT_CLASS):
Changes your password. Make sure to pick a safe one. Changes your password. Make sure to pick a safe one.
""" """
key = "@password" key = "@password"
locks = "cmd:pperm(Account)" locks = "cmd:pperm(Player)"
# this is used by the parent # this is used by the parent
account_caller = True account_caller = True
@ -803,7 +803,7 @@ class CmdQuell(COMMAND_DEFAULT_CLASS):
key = "@quell" key = "@quell"
aliases = ["@unquell"] aliases = ["@unquell"]
locks = "cmd:pperm(Account)" locks = "cmd:pperm(Player)"
help_category = "General" help_category = "General"
# this is used by the parent # this is used by the parent

View file

@ -453,7 +453,7 @@ class CmdCemit(COMMAND_DEFAULT_CLASS):
key = "@cemit" key = "@cemit"
aliases = ["@cmsg"] aliases = ["@cmsg"]
locks = "cmd: not pperm(channel_banned) and pperm(Account)" locks = "cmd: not pperm(channel_banned) and pperm(Player)"
help_category = "Comms" help_category = "Comms"
# this is used by the COMMAND_DEFAULT_CLASS parent # this is used by the COMMAND_DEFAULT_CLASS parent
@ -530,7 +530,7 @@ class CmdChannelCreate(COMMAND_DEFAULT_CLASS):
key = "@ccreate" key = "@ccreate"
aliases = "channelcreate" aliases = "channelcreate"
locks = "cmd:not pperm(channel_banned) and pperm(Account)" locks = "cmd:not pperm(channel_banned) and pperm(Player)"
help_category = "Comms" help_category = "Comms"
# this is used by the COMMAND_DEFAULT_CLASS parent # this is used by the COMMAND_DEFAULT_CLASS parent

View file

@ -644,7 +644,7 @@ class CmdTime(COMMAND_DEFAULT_CLASS):
""" """
key = "@time" key = "@time"
aliases = "@uptime" aliases = "@uptime"
locks = "cmd:perm(time) or perm(Account)" locks = "cmd:perm(time) or perm(Player)"
help_category = "System" help_category = "System"
def func(self): def func(self):