summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 0a16b71a..f1efdc72 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -246,9 +246,7 @@ class ChatTab(Tab):
def on_enter(self):
txt = self.input.key_enter()
- if not Tab.on_enter(self):
- if txt.startswith('//'):
- txt = txt[1:]
+ if not Tab.on_enter(self, txt):
self.command_say(txt)
def command_say(self, line):