changeset 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 4a7db2870685
children 80c095886fb5
files mcabber/src/settings.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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);
   }