]> jfr.im git - irc/freenode/solanum.git/commit
m_stats: Rework privilege requirements
authorEd Kellett <redacted>
Fri, 20 Dec 2019 21:45:08 +0000 (21:45 +0000)
committerEd Kellett <redacted>
Tue, 4 Aug 2020 21:58:30 +0000 (22:58 +0100)
commit326ecd968bd3877e8501811991acfe45dadb67be
tree27fe7f0228331ee29b2c18565d4e00a95c14da1f
parent9039ac01784b2de1503029f10f91a8664f223e0d
m_stats: Rework privilege requirements

.need_oper is replaced with a generic mechanism for requiring any
privilege. need_admin remains because I think it's the least horrible
way to deal with oper:hidden_admin.

All need_oper requirements have been changed to oper:general
requirements.
modules/m_stats.c