From 425220bc1ad4e95d57ae8244e3195ed3dbd4e8a6 Mon Sep 17 00:00:00 2001 From: Azimjon Pulatov Date: Thu, 12 Sep 2024 22:12:33 +0500 Subject: [PATCH] Fix #227: Connection Issue with 42Bot Token --- server/jprq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/jprq.go b/server/jprq.go index e50e62f..80449e4 100644 --- a/server/jprq.go +++ b/server/jprq.go @@ -186,7 +186,7 @@ func (j *Jprq) serveEventConn(conn net.Conn) error { if _, err := conn.Read(buffer); err == io.EOF { break } - if _, found := j.allowedUsers[user.Login]; !found { + if _, found := j.allowedUsers[user.Login]; !found && !user.Allowed { break } }