aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-02-11 12:35:01 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-02-11 12:35:01 +0000
commiteeb85a8a880fefe655eb31b6322136b61ee969e2 (patch)
treebab4cd9e7702b50d9355d50f4f90489007925876 /bitlbee.h
parent3038e476a93b2be057581b831749eac931a06559 (diff)
Got rid of some noise at startup: complaining when the default configuration
file couldn't be found while the user specified an alternative location with the -c option, and double complaints about /var/lib/bitlbee/ permissions.
Diffstat (limited to 'bitlbee.h')
-rw-r--r--bitlbee.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitlbee.h b/bitlbee.h
index 55687e3b..c118d7fc 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -121,8 +121,6 @@
#define HELP_FILE VARDIR "help.txt"
#define CONF_FILE_DEF ETCDIR "bitlbee.conf"
-extern char *CONF_FILE;
-
#include "irc.h"
#include "storage.h"
#include "set.h"
@@ -144,6 +142,7 @@ typedef struct global {
int listen_socket;
gint listen_watch_source_id;
help_t *help;
+ char *conf_file;
conf_t *conf;
GList *storage; /* The first backend in the list will be used for saving */
char *helpfile;