diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-23 18:38:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-23 18:38:53 +0000 |
commit | 8c33db8198a5a71870b6ffa5a9bec30267126386 (patch) | |
tree | ad9a4d0402940a582a0982d795394aeb837ccc1e /src/modules | |
parent | 37402dbb06f667f08e8d62f0c27de85c01c08669 (diff) |
fix against fools
git-svn-id: http://svn.miranda-ng.org/main/trunk@1635 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-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);
|