chatServer/modules/servercaps.py

8 lines
241 B
Python
Raw Permalink Normal View History

2021-10-28 06:17:07 +00:00
global serverCaps
serverCaps = []
serverCaps.append("maxRequestSize:" +str(maxRequestSize))
serverCaps.append("heartbeatTime:" +str(heartbeatTime))
def f(self,cmd,*args):
return ["serverCaps"] + serverCaps
commands["serverCaps"] = f