From 2ef0d0654a5aa189b386cd0cfef785a25bee832c Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 30 May 2022 11:36:53 +0200 Subject: [PATCH] Fix authenticator --- modules/fstream/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/fstream/main.py b/modules/fstream/main.py index 7ca6c6d..1f3019a 100644 --- a/modules/fstream/main.py +++ b/modules/fstream/main.py @@ -15,8 +15,6 @@ def clientLoopIn(self): if not "channel" in args: args["channel"] = "default" if not "channel-password" in args: args["channel-password"] = "" - if not authenticate(args["user"],args["user-password"]): return - with clientDataLock: setClientData(self.cID,"type",cmd[0]) setClientData(self.cID,"args",args) @@ -30,6 +28,7 @@ def clientLoopIn(self): setClientData(self.cID,"queue",q) if cmd[0] == "broadcast": + if not authenticate(args["user"],args["user-password"]): return buffer = getClientData(self.cID,"buffer") packet = -1 packetMin = 0