mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-18 03:30:18 +00:00
Closes #290 - opt-out for extra alerts now working
This commit is contained in:
@@ -165,17 +165,6 @@ chanopt_is_set (unsigned int global, guint8 per_chan_setting)
|
||||
return per_chan_setting;
|
||||
}
|
||||
|
||||
/* additive version */
|
||||
|
||||
gboolean
|
||||
chanopt_is_set_a (unsigned int global, guint8 per_chan_setting)
|
||||
{
|
||||
if (per_chan_setting == SET_DEFAULT)
|
||||
return global;
|
||||
|
||||
return per_chan_setting || global;
|
||||
}
|
||||
|
||||
/* === below is LOADING/SAVING stuff only === */
|
||||
|
||||
typedef struct
|
||||
|
||||
Reference in New Issue
Block a user