Fix a crash on empty command in muclisttab
This commit is contained in:
parent
80047cdebe
commit
94140aba91
1 changed files with 3 additions and 1 deletions
|
@ -2369,6 +2369,8 @@ class MucListTab(Tab):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def execute_slash_command(self, txt):
|
def execute_slash_command(self, txt):
|
||||||
|
if txt.startswith('/'):
|
||||||
|
self.input.key_enter()
|
||||||
self.execute_command(txt)
|
self.execute_command(txt)
|
||||||
return self.reset_help_message()
|
return self.reset_help_message()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue