summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
Diffstat (limited to 'hcid')
-rw-r--r--hcid/plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/plugin.c b/hcid/plugin.c
index 27c846e7..331a832f 100644
--- a/hcid/plugin.c
+++ b/hcid/plugin.c
@@ -91,6 +91,9 @@ gboolean plugin_init(GKeyFile *config)
const gchar *file;
gchar **disabled;
+ if (strlen(PLUGINDIR) == 0)
+ return FALSE;
+
if (config)
disabled = g_key_file_get_string_list(config, "General",
"DisablePlugins",