diff options
Diffstat (limited to 'src/c/event.c')
| -rw-r--r-- | src/c/event.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c/event.c b/src/c/event.c index 36b0529..59fdb98 100644 --- a/src/c/event.c +++ b/src/c/event.c @@ -4,6 +4,7 @@ */ #include "event.h" +#include "config.h" #define TIME2MIN(hh,mm) (hh * 60 + mm) @@ -589,9 +590,8 @@ static struct Gw2Event *all_events = NULL; static int all_events_count = 0; static int event_index = 0; -static inline uint16_t enabled_categories() { - /* TODO: make this mask configurable */ - return 0xffff; +static inline uint32_t enabled_categories() { + return config_get_enabled_extensions(); } static inline bool is_category_enabled(enum Category category) { |
