Fix a crash on empty command in muclisttab

This commit is contained in:
Florent Le Coz 2011-11-06 20:30:41 +01:00
parent 80047cdebe
commit 94140aba91

View file

@ -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()