mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 12:56:30 +01:00
Handle empty query in improved help search
This commit is contained in:
parent
9633f68cca
commit
7edcdb0f3d
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ class CmdHelp(COMMAND_DEFAULT_CLASS):
|
|||
|
||||
"""
|
||||
def strip_prefix(query):
|
||||
if query[0] in settings.CMD_IGNORE_PREFIXES:
|
||||
if query and query[0] in settings.CMD_IGNORE_PREFIXES:
|
||||
return query[1:]
|
||||
return query
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue