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:
Kevin Easton
2016-10-27 15:14:57 +11:00
parent 30e3e65af7
commit 919b76fcef
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2.2]
* Correctly show time since offer for DCC CHAT offers in /DCC LIST. (caf)
* Improve completion bar for /SET DCC_BAR_TYPE 1 so that it always matches
the completion percentage. (caf)