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):
|
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[1:]
|
||||||
return query
|
return query
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue