mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 05:46:20 +00:00
Default /autoaway check on
This commit is contained in:
@@ -400,7 +400,11 @@ prefs_set_autoaway_message(gchar *value)
|
||||
gboolean
|
||||
prefs_get_autoaway_check(void)
|
||||
{
|
||||
return g_key_file_get_boolean(prefs, "autoaway", "check", NULL);
|
||||
if (g_key_file_has_key(prefs, "autoaway", "check", NULL)) {
|
||||
return g_key_file_get_boolean(prefs, "autoaway", "check", NULL);
|
||||
} else {
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user