mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
781aecf95a
There is no hard cap on batch reference length, so we had to make one up. It is now a clear #define MAXBATCHREFLEN 48, which should be plenty. No sane client is going to use like a 64 byte batch reference :D So we did use 48, but we also accidentally used BATCHLEN at another place. BATCHLEN is 22 and refers to how many bytes we generate, so that is not appropritate. Thanks to Valware for spotting this.