Fix receive timestamp setting
This commit is contained in:
parent
7770e09e68
commit
a9659b7444
@ -346,6 +346,9 @@ func Processor(events chan ClientEvent, finished chan struct{}) {
|
|||||||
ClientRegister(client, cmd, cols)
|
ClientRegister(client, cmd, cols)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if client != nil {
|
||||||
|
client.recvTimestamp = now
|
||||||
|
}
|
||||||
switch cmd {
|
switch cmd {
|
||||||
case "AWAY":
|
case "AWAY":
|
||||||
if len(cols) == 1 {
|
if len(cols) == 1 {
|
||||||
@ -514,8 +517,5 @@ func Processor(events chan ClientEvent, finished chan struct{}) {
|
|||||||
client.ReplyNicknamed("421", cmd, "Unknown command")
|
client.ReplyNicknamed("421", cmd, "Unknown command")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if client != nil {
|
|
||||||
client.recvTimestamp = now
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user