diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-02-11 12:35:01 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-02-11 12:35:01 +0000 |
commit | eeb85a8a880fefe655eb31b6322136b61ee969e2 (patch) | |
tree | bab4cd9e7702b50d9355d50f4f90489007925876 /storage_text.c | |
parent | 3038e476a93b2be057581b831749eac931a06559 (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 'storage_text.c')
-rw-r--r-- | storage_text.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/storage_text.c b/storage_text.c index 7c29d95a..5ee6438d 100644 --- a/storage_text.c +++ b/storage_text.c @@ -29,10 +29,10 @@ static void text_init (void) { - if( access( global.conf->configdir, F_OK ) != 0 ) - log_message( LOGLVL_WARNING, "The configuration directory %s does not exist. Configuration won't be saved.", global.conf->configdir ); - else if( access( global.conf->configdir, R_OK ) != 0 || access( global.conf->configdir, W_OK ) != 0 ) - log_message( LOGLVL_WARNING, "Permission problem: Can't read/write from/to %s.", global.conf->configdir ); + /* Don't complain about the configuration directory anymore, leave it + up to the XML storage module, which uses the same directory for it + anyway. Nobody should be using just the text plugin anymore since + it's read only! */ } static storage_status_t text_load ( const char *my_nick, const char* password, irc_t *irc ) |