View Issue Details

IDProjectCategoryView StatusLast Update
0004393unrealircdpublic2018-09-09 20:26
Reportersyzop Assigned Tosyzop  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionno change required 
Summary0004393: modularize more snomasks
DescriptionI really have no intention to move them all to modules, but right now we only have 1 modularized which isn't much :D. Even if we would just move only a few, it would be better.

Current list at 2015-08-08:
    SnomaskAdd(NULL, 'k', 0, umode_allow_all, &SNO_KILLS);
    SnomaskAdd(NULL, 'c', 1, umode_allow_opers, &SNO_CLIENT);
    SnomaskAdd(NULL, 'f', 1, umode_allow_opers, &SNO_FLOOD);
    SnomaskAdd(NULL, 'F', 1, umode_allow_opers, &SNO_FCLIENT);
    SnomaskAdd(NULL, 'j', 1, umode_allow_opers, &SNO_JUNK);
    SnomaskAdd(NULL, 'v', 1, umode_allow_opers, &SNO_VHOST);
    SnomaskAdd(NULL, 'e', 1, umode_allow_opers, &SNO_EYES);
    SnomaskAdd(NULL, 'G', 1, umode_allow_opers, &SNO_TKL);
    SnomaskAdd(NULL, 'n', 1, umode_allow_opers, &SNO_NICKCHANGE);
    SnomaskAdd(NULL, 'N', 1, umode_allow_opers, &SNO_FNICKCHANGE);
    SnomaskAdd(NULL, 'q', 1, umode_allow_opers, &SNO_QLINE);
    SnomaskAdd(NULL, 'S', 1, umode_allow_opers, &SNO_SPAMF);
    SnomaskAdd(NULL, 's', 1, umode_allow_opers, &SNO_SNOTICE);
    SnomaskAdd(NULL, 'o', 1, umode_allow_opers, &SNO_OPER);

I think self-contained ones such as kills, nickchange (x2) could be moved to modules.

Also moving kills ('k') would allow us changing the default to 1, umode_allow_opers rather than 0, umode_allow_all. Then another module (or config setting) could decide the all vs opers thing.
TagsNo tags attached.
3rd party modules

Activities

syzop

2018-09-09 20:26

administrator   ~0020317

I don't think this is worth the effort

Issue History

Date Modified Username Field Change
2015-08-08 08:46 syzop New Issue
2018-09-09 20:26 syzop Assigned To => syzop
2018-09-09 20:26 syzop Status new => closed
2018-09-09 20:26 syzop Resolution open => no change required
2018-09-09 20:26 syzop Note Added: 0020317