summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-23 18:38:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-23 18:38:53 +0000
commit8c33db8198a5a71870b6ffa5a9bec30267126386 (patch)
treead9a4d0402940a582a0982d795394aeb837ccc1e /src
parent37402dbb06f667f08e8d62f0c27de85c01c08669 (diff)
fix against fools
git-svn-id: http://svn.miranda-ng.org/main/trunk@1635 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/modules/plugins/newplugins.cpp2
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);