mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 17:42:49 +02:00
xdg: check for get_irssi_config() for he firsttimer
This would solve an edge case where the user would specify the config file and they might not have the config directory, they are marked as firsttimer, which is not correct.
This commit is contained in:
parent
9c634657ce
commit
e53fc95659
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ static void check_files(void)
|
|||
{
|
||||
struct stat statbuf;
|
||||
|
||||
if (stat(get_irssi_dir(), &statbuf) != 0) {
|
||||
if (stat(get_irssi_config(), &statbuf) != 0) {
|
||||
/* irssi config folder doesn't exist, first time running irssi */
|
||||
display_firsttimer = TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue