Skip to content

Commit

Permalink
Fix azimjohn#227: Connection Issue with 42Bot Token
Browse files Browse the repository at this point in the history
  • Loading branch information
Azimjon Pulatov committed Sep 12, 2024
1 parent 006b500 commit 425220b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/jprq.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 425220b

Please sign in to comment.