diff options
Diffstat (limited to 'luamods/notify.lua')
| -rw-r--r-- | luamods/notify.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/luamods/notify.lua b/luamods/notify.lua index 36bcb78..db30ec9 100644 --- a/luamods/notify.lua +++ b/luamods/notify.lua @@ -9,6 +9,10 @@ local function parse_target(value) type = str_to_event_type(parts[2]) } + if event_type_to_str(data.type) ~= parts[2] then + data.type = nil + end + if data.type == nil then return data end |
