+ ConfigReader conf(ServerInstance);
+
+ banunknown = conf.ReadFlag("geoip", "banunknown", 0);
+
+ for (int i = 0; i < conf.Enumerate("geoban"); ++i)
+ {
+ std::string countrycode = conf.ReadValue("geoban", "country", i);
+ std::string reason = conf.ReadValue("geoban", "reason", i);
+ GeoBans[countrycode] = reason;
+ }