1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-25 18:52:22 -05:00

Prepare FiSHLiM to use the plugin config API

This commit is contained in:
Berke Viktor 2012-07-18 11:17:21 +02:00
parent a4052aff32
commit 8aaff85e70
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ static char *keystore_password = NULL;
/**
* Opens the key store file: ~/.xchat2/blow.ini
* Opens the key store file: ~/.config/hexchat/plugin_fishlim.conf
*/
static GKeyFile *getConfigFile() {
gchar *filename = get_config_filename();
@ -63,7 +63,7 @@ static const char *get_keystore_password() {
/**
* Gets a value for a nick/channel from blow.ini. Unlike
* Gets a value for a nick/channel from plugin_fishlim.conf. Unlike
* g_key_file_get_string, this function is case insensitive.
*/
static gchar *get_nick_value(GKeyFile *keyfile, const char *nick, const char *item) {

View File

@ -52,7 +52,7 @@ 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);
return g_build_filename(xchat_get_info(ph, "xchatdirfs"), "plugin_fishlim.conf", NULL);
}
/**