51
54
jail_path = os.path.join(ivle.conf.jail_base, req.user.login)
54
57
# Assemble the key and return it. Yes, it is double-encoded.
55
58
return {'key': cjson.encode({"host": cons.host,
57
60
"magic": cons.magic}).encode('hex')}
60
63
def chat(self, req, key, text='', kind="chat"):
61
64
# The request *should* have the following four fields:
62
65
# key: Hex JSON dict of host and port where the console server lives,