mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Added IRSSI_GLOBAL_CONFIG as well
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2420 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
464ff76954
commit
5fb5230963
2 changed files with 3 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ static CONFIG_REC *parse_configfile(const char *fname)
|
|||
else {
|
||||
/* user configuration file not found, use the default one
|
||||
from sysconfdir */
|
||||
path = SYSCONFDIR"/irssi.conf";
|
||||
path = SYSCONFDIR"/"IRSSI_GLOBAL_CONFIG;
|
||||
if (stat(path, &statbuf) != 0) {
|
||||
/* no configuration file in sysconfdir ..
|
||||
use the build-in configuration */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue