aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_commonchans.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-03-22 17:05:30 +0000
committerGravatar Sadie Powell2022-03-22 17:15:38 +0000
commit2468fc2582a2f8ac0b69b7d9e2cfb511e700f2eb (patch)
tree72336ebbda6e849cd4f5e0456bb08399df5b2ae8 /src/modules/m_commonchans.cpp
parentFix a typo in the connectban example config docs. (diff)
Fix our WHO oplevels being incompatible with the WHOX spec.
Unlike in InspIRCd where 0 is an unprivileged member and higher levels grant more privileges the WHOX spec defines the oplevel field as using n/a for unprivileged users and the lower an oplevel is the more privileges it grants. InspIRCd also uses values between 0 and UINT_MAX whereas WHOX only uses values between 0 and 999. In order to work around this we now lazily build dummy oplevels for the InspIRCd member ranks.
Diffstat (limited to 'src/modules/m_commonchans.cpp')
0 files changed, 0 insertions, 0 deletions