mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-15 10:10:19 +00:00
fix fishlim config handler
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
*/
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -47,6 +48,13 @@ static const char usage_delkey[] = "Usage: DELKEY <nick or #channel>, deletes th
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user