summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_updown.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/chanserv/cs_updown.cpp
parent73d4ac6de04a1035ac36182d3f269cc938c6bc19 (diff)
Make functions that don't use `this` static.
Diffstat (limited to 'modules/chanserv/cs_updown.cpp')
-rw-r--r--modules/chanserv/cs_updown.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/chanserv/cs_updown.cpp b/modules/chanserv/cs_updown.cpp
index 24242a0c3..76db3452a 100644
--- a/modules/chanserv/cs_updown.cpp
+++ b/modules/chanserv/cs_updown.cpp
@@ -14,7 +14,7 @@
class CommandCSUp final
: public Command
{
- void SetModes(User *u, Channel *c)
+ static void SetModes(User *u, Channel *c)
{
if (!c->ci)
return;
@@ -133,7 +133,7 @@ public:
class CommandCSDown final
: public Command
{
- void RemoveAll(User *u, Channel *c)
+ static void RemoveAll(User *u, Channel *c)
{
ChanUserContainer *cu = c->FindUser(u);
if (cu != NULL)