From a0404f3077c9ec932f0272b770a9c985ccda25cc Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sun, 6 Nov 2011 20:30:41 +0100 Subject: Fix a crash on empty command in muclisttab --- src/tabs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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): -- cgit v1.2.3