From 94140aba91d302c320f69e2e40a3164ae21ddb01 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sun, 6 Nov 2011 20:30:41 +0100 Subject: [PATCH] Fix a crash on empty command in muclisttab --- src/tabs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tabs.py b/src/tabs.py index 06e89f44..d41bf9d3 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -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):