mirror of
https://github.com/evennia/evennia.git
synced 2026-03-20 23:06:31 +01:00
Added arg_regex check to unloggedin create command to avoid merging mis-spells of create with the argument.
This commit is contained in:
parent
834b039a0d
commit
4a7e332f41
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ class CmdUnconnectedConnect(MuxCommand):
|
|||
key = "connect"
|
||||
aliases = ["conn", "con", "co"]
|
||||
locks = "cmd:all()" # not really needed
|
||||
arg_regex = r"\s.*?|$"
|
||||
|
||||
def func(self):
|
||||
"""
|
||||
|
|
@ -116,6 +117,7 @@ class CmdUnconnectedCreate(MuxCommand):
|
|||
key = "create"
|
||||
aliases = ["cre", "cr"]
|
||||
locks = "cmd:all()"
|
||||
arg_regex = r"\s.*?|$"
|
||||
|
||||
def func(self):
|
||||
"Do checks and create account"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue