Enable Like-Button for not logged-in visitors

I meant a functional customizing: I want to change the logic, so the Like-Control will work without log-in. But i dont know the modular structure of discourse. Would you recommend a plug-in, or a direct change in php? And where could i make the change without breaking the integrity of the code? What happens with the changed code-snippet on Updates, etc?