|
|
|
|
@ -33,6 +33,7 @@
|
|
|
|
|
// ini file keywords
|
|
|
|
|
#define JAUTOLINKMODULE "AutoLinkModule"
|
|
|
|
|
#define JBLACKLISTPATH "BlacklistPath"
|
|
|
|
|
#define JBOOTSTRAP "Bootstrap"
|
|
|
|
|
#define JBRANDMEISTER "Brandmeister"
|
|
|
|
|
#define JCALLSIGN "Callsign"
|
|
|
|
|
#define JCOUNTRY "Country"
|
|
|
|
|
@ -250,6 +251,8 @@ bool CConfigure::ReadData(const std::string &path)
|
|
|
|
|
case ESection::names:
|
|
|
|
|
if (0 == key.compare(JCALLSIGN))
|
|
|
|
|
data[g_Keys.names.callsign] = value;
|
|
|
|
|
else if (0 == key.compare(JBOOTSTRAP))
|
|
|
|
|
data[g_Keys.names.bootstrap] = value;
|
|
|
|
|
else if (0 == key.compare(JSYSOPEMAIL))
|
|
|
|
|
data[g_Keys.names.email] = value;
|
|
|
|
|
else if (0 == key.compare(JCOUNTRY))
|
|
|
|
|
@ -506,6 +509,9 @@ bool CConfigure::ReadData(const std::string &path)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifndef NO_DHT
|
|
|
|
|
isDefined(ErrorLevel::fatal, JNAMES, JBOOTSTRAP, g_Keys.names.bootstrap, rval);
|
|
|
|
|
#endif
|
|
|
|
|
isDefined(ErrorLevel::mild, JNAMES, JSYSOPEMAIL, g_Keys.names.email, rval);
|
|
|
|
|
isDefined(ErrorLevel::mild, JNAMES, JCOUNTRY, g_Keys.names.country, rval);
|
|
|
|
|
isDefined(ErrorLevel::mild, JNAMES, JSPONSOR, g_Keys.names.sponsor, rval);
|
|
|
|
|
|