summaryrefslogtreecommitdiff
path: root/plugins/CountryFlags/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CountryFlags/src/main.cpp')
-rw-r--r--plugins/CountryFlags/src/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/CountryFlags/src/main.cpp b/plugins/CountryFlags/src/main.cpp
index b68b14bd02..216595c441 100644
--- a/plugins/CountryFlags/src/main.cpp
+++ b/plugins/CountryFlags/src/main.cpp
@@ -57,10 +57,15 @@ extern "C" __declspec(dllexport) int Load(void)
PrepareBufferedFunctions();
if ( CallService(MS_UTILS_GETCOUNTRYLIST, (WPARAM)&nCountriesCount, (LPARAM)&countries))
nCountriesCount = 0;
+
+ bShowStatusIcon = db_get_b(NULL, MODULENAME, "ShowStatusIconFlag", SETTING_SHOWSTATUSICONFLAG_DEFAULT) != 0;
+ bShowExtraIcon = db_get_b(NULL, MODULENAME, "ShowExtraImgFlag", SETTING_SHOWEXTRAIMGFLAG_DEFAULT) != 0;
+ bUseUnknown = db_get_b(NULL, MODULENAME, "UseUnknownFlag", SETTING_USEUNKNOWNFLAG_DEFAULT) != 0;
+ bUseIpToCountry = db_get_b(NULL, MODULENAME, "UseIpToCountry", SETTING_USEIPTOCOUNTRY_DEFAULT) != 0;
+
InitIcons();
InitIpToCountry();
InitExtraImg();
- LoadOptions();
return 0;
}