Added arg_regex check to unloggedin create command to avoid merging mis-spells of create with the argument.

This commit is contained in:
Griatch 2014-04-12 15:01:42 +02:00
parent 834b039a0d
commit 4a7e332f41

View file

@ -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"