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, or h 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 throwing qaohv into something like features.prefix_order?
When
PREFIXis parsed into the features list here, it throws away the relative permission levels each prefix has.For instance, a typical
PREFIXentry 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
oor higher, orhor 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 throwing
qaohvinto something likefeatures.prefix_order?