diff options
Diffstat (limited to 'MySpace/MySpace.cpp')
-rw-r--r-- | MySpace/MySpace.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MySpace/MySpace.cpp b/MySpace/MySpace.cpp index 6121fa3..c06690d 100644 --- a/MySpace/MySpace.cpp +++ b/MySpace/MySpace.cpp @@ -116,6 +116,14 @@ extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) { code_page = (int)CallService(MS_LANGPACK_GETCODEPAGE, 0, 0);
+ if(ServiceExists(MS_DB_SETSETTINGRESIDENT)) { // 0.6+
+ char buff[256];
+ mir_snprintf(buff, 256, "%s/%s", MODULE, "Status");
+ CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)buff);
+ mir_snprintf(buff, 256, "%s/%s", MODULE, "StatusMsg");
+ CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)buff);
+ }
+
InitARC4Module();
InitOptions();
|