PowerDNS / weakforced

Anti-Abuse for servers at authentication time
GNU General Public License v3.0
124 stars 33 forks source link

Refactor wforce-replication.cc from a collection of functions into a class #338

Closed neilcook closed 3 years ago

neilcook commented 3 years ago

This not only provides better modularity, but it also allows key functions to be overidden in subclasses. This change affects quite a lot of other files, so this is a fairly chunky commit. Using a class also replaces a whole bunch of globals with a single global for the class instance.

neilcook commented 3 years ago

thanks Max!