diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-01-12 21:08:17 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-01-12 21:08:17 +0100 |
commit | 7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd (patch) | |
tree | dbb10922e8390282787a76c0b818fd1b7f9a89a1 /src | |
parent | 89ed92609608794132b395d3b6dec530bbaa85b7 (diff) | |
download | poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.tar.gz poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.tar.bz2 poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.tar.xz poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.zip |
Fix //
Diffstat (limited to 'src')
-rw-r--r-- | src/tabs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py index c7ba1b50..2d071973 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -248,6 +248,8 @@ class ChatTab(Tab): def on_enter(self): txt = self.input.key_enter() if not self.execute_command(txt): + if txt.startswith('//'): + txt = txt[1:] self.command_say(txt) def command_say(self, line): |