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 fcbe84e5a6
commit a0404f3077

View file

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