diff options
author | Wolfgang Müller | 2021-05-03 15:13:22 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-05-03 15:13:22 +0200 |
commit | 9aae366a37338cb32ed0d0a9ce5280e632b4bcf2 (patch) | |
tree | c371ac22bf73d09ce5190142eb0a4a0432229f3f | |
parent | 8461abd6a2b97616e993ef0524db8f672cc6d9d4 (diff) | |
download | quarg-9aae366a37338cb32ed0d0a9ce5280e632b4bcf2.tar.gz |
Remove the INFO message type
Quassel uses this message type only for very rare and mostly irrelevant
informational messages that users will most likely not be wanting to
search for.
-rw-r--r-- | quarg/quassel/formatter.py | 2 | ||||
-rw-r--r-- | quarg/quassel/types.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/quarg/quassel/formatter.py b/quarg/quassel/formatter.py index 51eec00..603e113 100644 --- a/quarg/quassel/formatter.py +++ b/quarg/quassel/formatter.py @@ -109,7 +109,7 @@ FORMATTERS = { MessageType.KICK: format_kick, MessageType.KILL: format_kill, MessageType.SERVER: format_generic, - MessageType.INFO: format_generic, + # MessageType.INFO: format_generic, MessageType.ERROR: format_generic, # MessageType.DAYCHANGE: format_generic, MessageType.TOPIC: format_generic, diff --git a/quarg/quassel/types.py b/quarg/quassel/types.py index 9648287..0ba5a11 100644 --- a/quarg/quassel/types.py +++ b/quarg/quassel/types.py @@ -37,7 +37,7 @@ class MessageType(Enum): KICK = 0x100 KILL = 0x200 SERVER = 0x400 - INFO = 0x800 + # INFO = 0x800 ERROR = 0x1000 # DAYCHANGE = 0x2000 TOPIC = 0x4000 |