From 8c33db8198a5a71870b6ffa5a9bec30267126386 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 23 Sep 2012 18:38:53 +0000 Subject: fix against fools git-svn-id: http://svn.miranda-ng.org/main/trunk@1635 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/plugins/newplugins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3