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,7 +2369,9 @@ class MucListTab(Tab):
|
|||
return True
|
||||
|
||||
def execute_slash_command(self, txt):
|
||||
self.execute_command(txt)
|
||||
if txt.startswith('/'):
|
||||
self.input.key_enter()
|
||||
self.execute_command(txt)
|
||||
return self.reset_help_message()
|
||||
|
||||
def get_name(self):
|
||||
|
|
Loading…
Reference in a new issue