From 975e0d96b29ddf9c020519da6faec3f83add6e73 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 3 Jul 2012 03:55:57 +0200 Subject: 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 --- src/core.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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() -- cgit v1.2.3