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