summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_flags.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_flags.cpp
parent73d4ac6de04a1035ac36182d3f269cc938c6bc19 (diff)
Make functions that don't use `this` static.
Diffstat (limited to 'modules/chanserv/cs_flags.cpp')
-rw-r--r--modules/chanserv/cs_flags.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/cs_flags.cpp b/modules/chanserv/cs_flags.cpp
index 0c1e088da..b1cb02edd 100644
--- a/modules/chanserv/cs_flags.cpp
+++ b/modules/chanserv/cs_flags.cpp
@@ -294,7 +294,7 @@ class CommandCSFlags final
source.Reply(_("Flags for \002%s\002 on %s set to +\002%s\002"), access->Mask().c_str(), ci->name.c_str(), access->AccessSerialize().c_str());
}
- void DoList(CommandSource &source, ChannelInfo *ci, const std::vector<Anope::string> &params)
+ static void DoList(CommandSource &source, ChannelInfo *ci, const std::vector<Anope::string> &params)
{
const Anope::string &arg = params.size() > 2 ? params[2] : "";