mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into winbuffers
This commit is contained in:
commit
d8cab42a2a
@ -252,7 +252,11 @@ prefs_get_priority(void)
|
||||
gint
|
||||
prefs_get_reconnect(void)
|
||||
{
|
||||
return g_key_file_get_integer(prefs, PREF_GROUP_CONNECTION, "reconnect", NULL);
|
||||
if (!g_key_file_has_key(prefs, PREF_GROUP_CONNECTION, "reconnect", NULL)) {
|
||||
return 30;
|
||||
} else {
|
||||
return g_key_file_get_integer(prefs, PREF_GROUP_CONNECTION, "reconnect", NULL);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user