Enforced text input for the look command in menu_login, as per #605.

This commit is contained in:
Griatch 2014-10-22 20:58:07 +02:00
parent 73e57422c7
commit ed52a0c101

View file

@ -361,8 +361,9 @@ class CmdUnloggedinLook(Command):
to the menu's own look command.. to the menu's own look command..
""" """
key = CMD_LOGINSTART key = CMD_LOGINSTART
aliases = ["look", "l"] aliases = ["look, l"]
locks = "cmd:all()" locks = "cmd:all()"
arg_regex = r"\s.*?|$"
def func(self): def func(self):
"Execute the menu" "Execute the menu"