From ed93d3874ff0125ae4a3d20807bcca1d41e97893 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Tue, 18 Mar 2014 23:41:08 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20supe?= =?UTF-8?q?rTornado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- superTornado.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superTornado.py b/superTornado.py index ff04702..10d3356 100644 --- a/superTornado.py +++ b/superTornado.py @@ -194,10 +194,10 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): GlobalVars.log.printL("->Websocket Closed : "+self.request.remote_ip,lvl.SUCCESS) iden = self.current_user if iden != "IllegalUser": - authorized - 1 + GlobalVars.authorized - 1 GlobalVars.log.printL("->"+iden+" : Authorized User Deconnection : "+self.request.remote_ip,lvl.INFO) else : - unauthorized - 1 + GlobalVars.unauthorized - 1 GlobalVars.log.printL("->"+iden +" : Unauthorized User Deconnection : "+self.request.remote_ip,lvl.WARNING) if GlobalVars.blind == True: