summaryrefslogtreecommitdiff
path: root/modules/operserv/os_oper.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-27 10:40:23 +0000
committerSadie Powell <sadie@witchery.services>2024-02-27 10:48:55 +0000
commitb5b3c744778ed0cbceb03f2f8dbbec33d2fd0e94 (patch)
treee6d8a7c143a11035be55ffffcdc97395eb5b4e25 /modules/operserv/os_oper.cpp
parent73d4ac6de04a1035ac36182d3f269cc938c6bc19 (diff)
Make functions that don't use `this` static.
Diffstat (limited to 'modules/operserv/os_oper.cpp')
-rw-r--r--modules/operserv/os_oper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/operserv/os_oper.cpp b/modules/operserv/os_oper.cpp
index 73cd793da..d05650d7c 100644
--- a/modules/operserv/os_oper.cpp
+++ b/modules/operserv/os_oper.cpp
@@ -51,7 +51,7 @@ struct MyOper final
class CommandOSOper final
: public Command
{
- bool HasPrivs(CommandSource &source, OperType *ot) const
+ static bool HasPrivs(CommandSource &source, OperType *ot)
{
for (const auto &command : ot->GetCommands())
{