Sanity check plugpath as well, no point in searching for plugins otherwise.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2014-10-30 22:11:23 +01:00
1 parent 757911f149
commit 5ad0c38fe8
1 file changed
+1 -1
+1 -1
View File
@@ -159,7 +159,7 @@ plugin_t *plugin_find(char *name)
SEARCH_PLUGIN(name);
if (name[0] != '/') {
if (plugpath && name[0] != '/') {
int noext;
char path[CMD_SIZE];