Closed jaraco closed 8 years ago
Sorry, this issue was made by me, didn't realise I wasn't logged in when I created it.
Original comment by: Daniel Oaks
Use OrderedDict for PREFIX. Fixes #64.
→ <<cset 1ffb38b25422>>
Original comment by: Jason R. Coombs
Released as 13.1.
Original comment by: Jason R. Coombs
When
PREFIX
is parsed into the features list here, it throws away the relative permission levels each prefix has.For instance, a typical
PREFIX
entry is:PREFIX=(qaohv)~&@%+
It's ordered from most to least permissions (as specified in the ISUPPORT draft), which lets people do things like check if a user has
o
or higher, orh
or higher. Helps a lot for an IRC bot making channel-specific behaviour changes, which is where I'm needing that ability to see the order of permissions. Maybe throwingqaohv
into something likefeatures.prefix_order
?