Correctly show time since offer for DCC CHAT offers in /DCC LIST
s->time on the SocketList is set to the time that the chat offer will expire, so it's in the future. This shows up as a very large positive time. Instead, use n->lasttime as that is set to the time when the offer is made. Also adjust the format for non-file offers so that it all lines up properly.
This commit is contained in:
Reference in New Issue
Block a user