mirror of
https://github.com/Kyren223/eko.git
synced 2026-07-17 17:11:03 +00:00
Fixed server crash due to accidental printing of a session address that
is nil
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user