summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index f9a1f419..5db2f4f8 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1300,9 +1300,7 @@ class Core(object):
"""
if line == "":
return
- if line.startswith('//'):
- self.command_say(line[1:])
- elif line.startswith('/') and not line.startswith('/me '):
+ if line.startswith('/'):
command = line.strip()[:].split()[0][1:]
arg = line[2+len(command):] # jump the '/' and the ' '
# example. on "/link 0 open", command = "link" and arg = "0 open"