modifié: superTornado.py
This commit is contained in:
parent
93234052d6
commit
ed93d3874f
@ -194,10 +194,10 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler):
|
|||||||
GlobalVars.log.printL("->Websocket Closed : "+self.request.remote_ip,lvl.SUCCESS)
|
GlobalVars.log.printL("->Websocket Closed : "+self.request.remote_ip,lvl.SUCCESS)
|
||||||
iden = self.current_user
|
iden = self.current_user
|
||||||
if iden != "IllegalUser":
|
if iden != "IllegalUser":
|
||||||
authorized - 1
|
GlobalVars.authorized - 1
|
||||||
GlobalVars.log.printL("->"+iden+" : Authorized User Deconnection : "+self.request.remote_ip,lvl.INFO)
|
GlobalVars.log.printL("->"+iden+" : Authorized User Deconnection : "+self.request.remote_ip,lvl.INFO)
|
||||||
else :
|
else :
|
||||||
unauthorized - 1
|
GlobalVars.unauthorized - 1
|
||||||
GlobalVars.log.printL("->"+iden +" : Unauthorized User Deconnection : "+self.request.remote_ip,lvl.WARNING)
|
GlobalVars.log.printL("->"+iden +" : Unauthorized User Deconnection : "+self.request.remote_ip,lvl.WARNING)
|
||||||
|
|
||||||
if GlobalVars.blind == True:
|
if GlobalVars.blind == True:
|
||||||
|
Reference in New Issue
Block a user