mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-03 06:16:45 +02:00
use toxic settings for colour theme instead of config flag
This commit is contained in:
@ -61,8 +61,10 @@ static void uset_time(struct user_settings *s, int val)
|
||||
|
||||
static void uset_alerts(struct user_settings *s, int val)
|
||||
{
|
||||
/* alerts default on if invalid value */
|
||||
s->alerts = val == ALERTS_DISABLED ? ALERTS_DISABLED : ALERTS_ENABLED;
|
||||
}
|
||||
|
||||
static void uset_colours(struct user_settings *s, int val)
|
||||
{
|
||||
/* use default toxic colours if invalid value */
|
||||
|
Reference in New Issue
Block a user