# HG changeset patch # User Mikael Berthe # Date 1178036352 -7200 # Node ID 9f5c5f1769538f14c9650bece358f993d0e30444 # Parent 4a7db2870685c1a173d86f4e3409758a5a7d8930 Do not check file permissions when using /source diff -r 4a7db2870685 -r 9f5c5f176953 mcabber/src/settings.c --- 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); }