daemon.go | 6 +++--- diff --git a/daemon.go b/daemon.go index 1c46de4eb3ecd186f15d6dc762ecd087a254fc4822cecd61d1cf733338b0b46c..bf6fc5f119b52acc35066ccd9831c8e23f186968127dddd8171ce23af000547b 100644 --- a/daemon.go +++ b/daemon.go @@ -346,6 +346,9 @@ if !client.registered { ClientRegister(client, cmd, cols) continue } + if client != nil { + client.recvTimestamp = now + } switch cmd { case "AWAY": if len(cols) == 1 { @@ -513,9 +516,6 @@ client.ReplyNicknamed("351", fmt.Sprintf("%s.%s %s :", version, debug, *hostname)) default: client.ReplyNicknamed("421", cmd, "Unknown command") } - } - if client != nil { - client.recvTimestamp = now } } }