Automatically reject a comment if website field contains anything

Figured this out by editing the max url string length in comment.php from 200 to 1. Only problem is any wordpress update will overwrite this each time. How would I go about making this change in functions instead?

techhipbettruvabetnorabahisbahis forumutaraftarium24edusedusedusedueduedusedueduseduedus