From d85b96f8752c43372f21a3c4ea2067326562977b Mon Sep 17 00:00:00 2001 From: Dico200 Date: Fri, 10 Apr 2015 00:13:06 +0200 Subject: Clean up misc.py, add space support for cg key --- chatgroups.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chatgroups.py') diff --git a/chatgroups.py b/chatgroups.py index 22b7699..9e85150 100644 --- a/chatgroups.py +++ b/chatgroups.py @@ -100,13 +100,12 @@ def on_chat(event): @simplecommand("chatgroupkey", aliases = ["cgkey"], senderLimit = 0, - amax = 1, helpNoargs = True, helpSubcmd = True, description = "Sets a key character for chatting to your chatgroup", usage = "") def chatgroupkey_command(sender, command, label, args): - key = args[0] + key = " ".join(args) uuid = uid(sender) if key.lower() == "default" or key == cg_defaultkey: del cg_keys[uuid] -- cgit v1.2.3