diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-06 20:30:41 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-06 20:30:41 +0100 |
commit | a0404f3077c9ec932f0272b770a9c985ccda25cc (patch) | |
tree | 92f318df7d6c5a8f5d86fbb7dbe9b139fb6330db | |
parent | fcbe84e5a69a61a8c58ff1c8a2ef86aa8a5ac8a4 (diff) | |
download | poezio-a0404f3077c9ec932f0272b770a9c985ccda25cc.tar.gz poezio-a0404f3077c9ec932f0272b770a9c985ccda25cc.tar.bz2 poezio-a0404f3077c9ec932f0272b770a9c985ccda25cc.tar.xz poezio-a0404f3077c9ec932f0272b770a9c985ccda25cc.zip |
Fix a crash on empty command in muclisttab
-rw-r--r-- | src/tabs.py | 4 |
1 files changed, 3 insertions, 1 deletions
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): |