get in sync with fishlim upstream

This commit is contained in:
Berke Viktor
2011-11-25 10:24:33 +01:00
parent 3067b7b267
commit 81ed389e71
8 changed files with 72 additions and 30 deletions

View File

@@ -22,10 +22,18 @@
*/
#include <glib.h>
#include <stdio.h>
#include <string.h>
#include "fish.h"
// We can't use the XChat plugin API from here...
gchar *get_config_filename() {
const gchar *homedir = g_get_home_dir();
return g_build_filename(homedir, ".xchat2", "blow.ini", NULL);
}
static int decrypt(int nick_count, char *nicks[]) {
char encrypted[8192];
while (fgets(encrypted, sizeof(encrypted), stdin)) {