summary refs log tree commit diff stats
path: root/plugins/fishlim/xchat_plugin.c
diff options
context:
space:
mode:
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.
  */