summaryrefslogtreecommitdiff
path: root/src/mir_app/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/modules.cpp')
-rw-r--r--src/mir_app/src/modules.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mir_app/src/modules.cpp b/src/mir_app/src/modules.cpp
index f63688d5cf..2c6ab808ec 100644
--- a/src/mir_app/src/modules.cpp
+++ b/src/mir_app/src/modules.cpp
@@ -59,7 +59,6 @@ int LoadButtonModule(void); // window class: button class
int LoadFontserviceModule(void); // ui: font manager
int LoadIcoLibModule(void); // ui: icons manager
int LoadServiceModePlugin(void);
-int LoadDefaultServiceModePlugin(void);
void UnloadAccountsModule(void);
void UnloadClcModule(void);
@@ -104,7 +103,7 @@ int LoadDefaultModules(void)
}
}
- switch (LoadDefaultServiceModePlugin()) {
+ switch (SetServiceModePlugin(CmdLine_GetOption(L"svc"))) {
case SERVICE_CONTINUE: // continue loading Miranda normally
case SERVICE_ONLYDB: // load database and go to the message cycle
break;