mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-25 20:06:37 +02:00
482df3dce3
instead of using a 2nd flag here for the special case of "the first zip msg" like in hybrid/etc I use cptr->zip->first to flag that. Except for the many #ifdef ZIP_LINKS blocks added I also had to do some stuff outside it, like crc32->our_crc32 because zlib defines it, made a READBUF define (8192), added a msg var to parsing/send functions.. blah.. etc ;P. I've also put the patch online at www.vulnscan.org/tmp/zip_links.diff so you can easily look what I've changed. TODO: ask in ./Config if ziplinks should be enabled and let ./configure check for zlib + add the library to IRCDLIBS in Makefile if enabled. TODO: some little code cleanups