Fixed server crash due to accidental printing of a session address that

is nil
This commit is contained in:
2025-01-25 17:15:23 +02:00
parent 02e55d769d
commit 5117d4ddda

View File

@@ -115,7 +115,7 @@ func UserPropagate(
) packet.Payload {
session := sess.Manager().Session(user)
if session == nil {
log.Println(sess.Addr(), "propagation to", session.Addr(), "failed due to session being nil")
log.Println(sess.Addr(), "propagation to user", user, "failed due to session being nil")
return payload
}
timeout := 1 * time.Second