aboutsummaryrefslogtreecommitdiffstats
path: root/storage_text.c
diff options
context:
space:
mode:
authorSven Moritz Hallberg <sm@khjk.org>2008-02-16 18:15:31 +0100
committerSven Moritz Hallberg <sm@khjk.org>2008-02-16 18:15:31 +0100
commit4eb4c0f4beeb87e07bd6b10daed8fe8e48fb4206 (patch)
treea54ec7b6b4622aa35ef7bd1efc58ab8ec45749ae /storage_text.c
parent896195002cc903ec4b1ef7e1468f73c1dc08df9e (diff)
parentca605509d0b49e6012d10ae5d1553ced007e6ce7 (diff)
merge in upstream changes
Diffstat (limited to 'storage_text.c')
-rw-r--r--storage_text.c8
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 )