mcabber/src/settings.c
changeset 1214 9f5c5f176953
parent 1205 2de8f8ba1f34
child 1272 033576acac4c
--- 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);
   }