summary refs log tree commit diff stats
path: root/plugins/fishlim/keystore.c
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-11-24 23:37:43 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-11-24 23:37:43 +0100
commitb15fe1ddf13de866d1ad8068db1d4632b5bbe094 (patch)
tree5e6fe83e439ce164ed6ca30f0eec842bbb8f1bc2 /plugins/fishlim/keystore.c
parent1a96ca3edd2b3b503a00180a8d1bb225cac2059b (diff)
fix fishlim config handler
Diffstat (limited to 'plugins/fishlim/keystore.c')
-rw-r--r--plugins/fishlim/keystore.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/fishlim/keystore.c b/plugins/fishlim/keystore.c
index 6eccccaf..ff30faa7 100644
--- a/plugins/fishlim/keystore.c
+++ b/plugins/fishlim/keystore.c
@@ -29,21 +29,13 @@
 #include "fish.h"
 #include "misc.h"
 #include "keystore.h"
+#include "xchat_plugin.h"
 
 
 static char *keystore_password = NULL;
 
 
 /**
- * Returns the path to the key store file.
- */
-static gchar *get_config_filename() {
-    // TODO use xchat_get_info(ph, "xchatdirfs")
-    const gchar *homedir = g_get_home_dir();
-    return g_build_filename(homedir, ".xchat2", "blow.ini", NULL);
-}
-
-/**
  * Opens the key store file: ~/.xchat2/blow.ini
  */
 static GKeyFile *getConfigFile() {