The mod is simple. Anytime someone you have kinned, or memorized as red appear, you will be hearthed automatically. Same thing goes for anyone who you may not have kinned. I added two options in the menu to disable those two options, so you can have it hearth only on red, or have it hearth only on unknown people appearing.
"Since all men count themselves righteous, and since
no righteous man raises his hand against the innocent,
a man need only strike another to make him evil."