Before a DCC transfer begins the sender sends 2 messages to the reciever. One is a NOTICE, and the other a PRIVMSG, the server reads these and decides whether to deliver them or not.

Notice:
DCC Send autoexec.cfg (0.0.0.0)

Privmsg:
DCC SEND autoexec.cfg 1342275100 4452 4115

Never worked out what the numbers in the privmsg are, hopefully someone who knows will post...