diff options
Diffstat (limited to 'src/modules/plugins/newplugins.cpp')
-rw-r--r-- | src/modules/plugins/newplugins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp index 6a7dafcf0b..5087afa0e1 100644 --- a/src/modules/plugins/newplugins.cpp +++ b/src/modules/plugins/newplugins.cpp @@ -673,7 +673,7 @@ static int LaunchServicePlugin(pluginEntry* p) int LoadDefaultServiceModePlugin()
{
LPCTSTR param = CmdLine_GetOption( _T("svc"));
- if (param == NULL)
+ if (param == NULL || *param == 0)
return SERVICE_CONTINUE;
size_t cbLen = _tcslen(param);
|