Ignore DCC ACCEPT if we didn't request a DCC RESUME

Mark DCC connections that we have requested RESUME on, so that we know
whether or not to act on a DCC ACCEPT that is received.

Also fixes up a slightly wrong message in /DCC RESUME.
This commit is contained in:
Kevin Easton
2015-10-04 00:44:47 +10:00
parent c173af3f65
commit 726884b0b0
3 changed files with 19 additions and 8 deletions

View File

@@ -97,6 +97,7 @@
#define DCC_OFFER 0x00040000
#define DCC_DELETE 0x00080000
#define DCC_TWOCLIENTS 0x00100000
#define DCC_RESUME_REQ 0x00200000
#define DCC_QUEUE 0x00400000
#define DCC_TDCC 0x00800000
#define DCC_BOTCHAT 0x01000000