aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-17 01:48:35 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-12-17 01:48:35 +0100
commit4bfca70ab85926364682a11aef5f921eb337cf54 (patch)
tree69a66f3e4e6445df4a1ee570b8a20c1492a904a7 /protocols/nogaim.c
parent701acdd41542656493d753a75480bc0594ea74b9 (diff)
Add variable for plugindir rather then always using the define
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index 4966a76f..29ae860a 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -81,14 +81,14 @@ void load_plugins(void)
GDir *dir;
GError *error = NULL;
- dir = g_dir_open(PLUGINDIR, 0, &error);
+ dir = g_dir_open(global.conf->plugindir, 0, &error);
if (dir) {
const gchar *entry;
char *path;
while ((entry = g_dir_read_name(dir))) {
- path = g_build_filename(PLUGINDIR, entry, NULL);
+ path = g_build_filename(global.conf->plugindir, entry, NULL);
if(!path) {
log_message(LOGLVL_WARNING, "Can't build path for %s\n", entry);
continue;