0548befe2b
Apologies for messing with code after the fact, but some OOPisms are just too much for me to stomach. This should just be a function of two arguments. No objects required. Yes, we're now reparsing the whitelist on every call, but this function is called only a handful of times.