View Issue Details

IDProjectCategoryView StatusLast Update
0006602unrealircdpublic2026-01-10 12:13
Reporterprogval Assigned Tosyzop  
PrioritylowSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version6.2.1 
Summary0006602: Invalid channel user limits are normalized to 1
DescriptionWhen sending "MODE #chan l :abc" or "MODE #chan l :-1", Unreal converts it to "MODE #chan l :1": https://github.com/unrealircd/unrealircd/blob/1c461db46de2b0d7d0c5b0b1f4e71439170f87e0/src/modules/chanmodes/limit.c#L191-L199

This is inconsistent with other IRCds: Charybdis/Solanum, Ergo, Hybrid/Plexus4, irc2, ircu2/Nefarious ignore the MODE command entirely, while InspIRCd and ngIRCd send ERR_INVALIDMODEPARAM then ignore it too.
3rd party modules

Activities

syzop

2026-01-10 12:13

administrator   ~0023588

I've edited the report slightly to add " l " in it.

Yeah... I think you are right and we should just ignore the +l set attempt if atoi() or whatever we use is <= 0

Issue History

Date Modified Username Field Change
2026-01-10 12:08 progval New Issue
2026-01-10 12:11 syzop Description Updated
2026-01-10 12:11 syzop Description Updated
2026-01-10 12:13 syzop Assigned To => syzop
2026-01-10 12:13 syzop Status new => acknowledged
2026-01-10 12:13 syzop Note Added: 0023588