diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-01-11 02:52:00 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-01-11 02:52:00 +0100 |
commit | 6b3fdec468498997984a3ca5dc763fa6ef436b24 (patch) | |
tree | 85b04ab3f00dd36889cc8e5dd60a1c0788cd3bcc | |
parent | 5d4b0a9e2bfc0b8be9df9043dd2527600b619487 (diff) | |
download | poezio-6b3fdec468498997984a3ca5dc763fa6ef436b24.tar.gz poezio-6b3fdec468498997984a3ca5dc763fa6ef436b24.tar.bz2 poezio-6b3fdec468498997984a3ca5dc763fa6ef436b24.tar.xz poezio-6b3fdec468498997984a3ca5dc763fa6ef436b24.zip |
Fix // on roster
-rw-r--r-- | src/core.py | 4 |
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" |