The source project of this merge request has been removed.
applySubstitution: Avoid DoS attack
Make sure we only store up to the first 510'th byte to 1) avoid denial of service, 2) there's no point in sending more than 510 bytes anyway in IRC
Make sure we only store up to the first 510'th byte to 1) avoid denial of service, 2) there's no point in sending more than 510 bytes anyway in IRC