rewrote the cases with enums

This commit is contained in:
apa420
2019-01-22 23:20:43 +01:00
parent 9629322ce7
commit c87114a640
3 changed files with 52 additions and 34 deletions
+8 -2
View File
@@ -122,9 +122,15 @@ struct AutomodUserAction : PubSubAction {
ActionUser target;
QString message;
enum {
AddPermitted,
RemovePermitted,
AddBlocked,
RemoveBlocked,
Properties,
} type;
qint8 type;
QString message;
};
} // namespace chatterino