View Issue Details

IDProjectCategoryView StatusLast Update
0005295unrealircdpublic2019-10-06 07:57
Reportersyzop Assigned Tosyzop  
Status resolvedResolutionfixed 
Fixed in Version5.0.0-alpha4 
Summary0005295: U5: Use more enums
DescriptionUse enums where possible, instead of #define's.
This does not work for bitmasks, but does for many other simple #define..1... #define..2 #define..3...#define..4..etc.. cases.

This allows the compiler to do certain checks, and makes it more clear to API users what kind of options are available (for those who code with an IDE too).
TagsNo tags attached.
3rd party modules


child of 0005279 closedsyzop UnrealIRCd 5 master tracking issue 



2019-08-31 08:24

administrator   ~0020863

Efunctions, ban actions, ..


2019-10-06 07:57

administrator   ~0020938

Last edited: 2019-10-06 07:57

I could leave this issue open forever, but I think I've done enough for now. Converted quite a bit to enums. If I see more and feel like it then I'll convert others as well.

Issue History

Date Modified Username Field Change
2019-05-22 15:53 syzop New Issue
2019-05-22 15:53 syzop Relationship added child of 0005279
2019-05-22 15:53 syzop Status new => acknowledged
2019-08-18 15:17 syzop View Status private => public
2019-08-31 08:24 syzop Note Added: 0020863
2019-08-31 10:37 syzop Note View State: 0020863: public
2019-10-06 07:57 syzop Assigned To => syzop
2019-10-06 07:57 syzop Status acknowledged => resolved
2019-10-06 07:57 syzop Resolution open => fixed
2019-10-06 07:57 syzop Fixed in Version => 5.0.0-alpha4
2019-10-06 07:57 syzop Note Added: 0020938
2019-10-06 07:57 syzop Note Edited: 0020938