aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modules/help/libkvihelp.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/help/libkvihelp.cpp b/src/modules/help/libkvihelp.cpp
index 169531e86..c58a92897 100644
--- a/src/modules/help/libkvihelp.cpp
+++ b/src/modules/help/libkvihelp.cpp
@@ -103,11 +103,10 @@ static bool help_kvs_cmd_open(KviKvsModuleCommandCall * c)
* 2) local help (in user directory)
* 3) global help (in kvirc directory)
*/
-
+
// try absolute path
QFileInfo f(szParam);
-
- if(!f.exists())
+ if(!f.exists() || !f.isAbsolute())
{
// try relative path (to local help)
g_pApp->getLocalKvircDirectory(szHelpDir,KviApp::Help);