summary refs log tree commit diff stats
path: root/plugins/fishlim/xchat_plugin.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/xchat_plugin.c
parent1a96ca3edd2b3b503a00180a8d1bb225cac2059b (diff)
fix fishlim config handler
Diffstat (limited to 'plugins/fishlim/xchat_plugin.c')
-rw-r--r--plugins/fishlim/xchat_plugin.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/fishlim/xchat_plugin.c b/plugins/fishlim/xchat_plugin.c
index dc67fddb..dd410548 100644
--- a/plugins/fishlim/xchat_plugin.c
+++ b/plugins/fishlim/xchat_plugin.c
@@ -22,6 +22,7 @@
 
 */
 
+#include <glib.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -48,6 +49,13 @@ static xchat_plugin *ph;
 
 
 /**
+ * Returns the path to the key store file.
+ */
+gchar *get_config_filename() {
+    return g_build_filename(xchat_get_info(ph, "xchatdirfs"), "blow.ini", NULL);
+}
+
+/**
  * Appends data to a string. Returns true if there was sufficient memory.
  * Frees *s and returns false if an error occurs.
  */