Mercurial > ~mikael > mcabber > hg
diff mcabber/src/settings.c @ 1214:9f5c5f176953
Do not check file permissions when using /source
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 01 May 2007 18:19:12 +0200 |
parents | 2de8f8ba1f34 |
children | 033576acac4c |
line wrap: on
line diff
--- a/mcabber/src/settings.c Tue May 01 18:16:11 2007 +0200 +++ b/mcabber/src/settings.c Tue May 01 18:19:12 2007 +0200 @@ -123,7 +123,8 @@ } // Check configuration file permissions (see above) // We don't change the permissions if that's not the main file. - checkset_perm(filename, mainfile); + if (mainfile) + checkset_perm(filename, TRUE); scr_LogPrint(LPRINT_LOGNORM, "Reading %s", filename); }