comparison 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
comparison
equal deleted inserted replaced
1213:4a7db2870685 1214:9f5c5f176953
121 scr_LogPrint(LPRINT_LOGNORM, "%s (%s).", msg, filename); 121 scr_LogPrint(LPRINT_LOGNORM, "%s (%s).", msg, filename);
122 return -2; 122 return -2;
123 } 123 }
124 // Check configuration file permissions (see above) 124 // Check configuration file permissions (see above)
125 // We don't change the permissions if that's not the main file. 125 // We don't change the permissions if that's not the main file.
126 checkset_perm(filename, mainfile); 126 if (mainfile)
127 checkset_perm(filename, TRUE);
127 scr_LogPrint(LPRINT_LOGNORM, "Reading %s", filename); 128 scr_LogPrint(LPRINT_LOGNORM, "Reading %s", filename);
128 } 129 }
129 130
130 buf = g_new(char, 512); 131 buf = g_new(char, 512);
131 132