summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-07-03 03:55:57 +0200
committermathieui <mathieui@mathieui.net>2012-07-03 03:55:57 +0200
commit975e0d96b29ddf9c020519da6faec3f83add6e73 (patch)
treec4b655bd599545b5020a3d480f91706361b8ad7a /src
parentc3f822e7b26c0e61ebe1477f678eefe6ada8fe65 (diff)
downloadpoezio-975e0d96b29ddf9c020519da6faec3f83add6e73.tar.gz
poezio-975e0d96b29ddf9c020519da6faec3f83add6e73.tar.bz2
poezio-975e0d96b29ddf9c020519da6faec3f83add6e73.tar.xz
poezio-975e0d96b29ddf9c020519da6faec3f83add6e73.zip
Make /status comply with the command args rule
- if there are more args than handled, no message will be set - fix the 'status' plugin accordingly
Diffstat (limited to 'src')
-rw-r--r--src/core.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 2d78123c..6a0bff13 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1551,8 +1551,6 @@ class Core(object):
show = possible_show[args[0]]
if len(args) == 2:
msg = args[1]
- elif len(args) > 2:
- msg = arg[len(args[0])+1:]
else:
msg = None
pres = self.xmpp.make_presence()