diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:40:23 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:48:55 +0000 |
| commit | b5b3c744778ed0cbceb03f2f8dbbec33d2fd0e94 (patch) | |
| tree | e6d8a7c143a11035be55ffffcdc97395eb5b4e25 /modules/chanserv/cs_seen.cpp | |
| parent | 73d4ac6de04a1035ac36182d3f269cc938c6bc19 (diff) | |
Make functions that don't use `this` static.
Diffstat (limited to 'modules/chanserv/cs_seen.cpp')
| -rw-r--r-- | modules/chanserv/cs_seen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/chanserv/cs_seen.cpp b/modules/chanserv/cs_seen.cpp index ff57949c4..e18434d3e 100644 --- a/modules/chanserv/cs_seen.cpp +++ b/modules/chanserv/cs_seen.cpp @@ -185,7 +185,7 @@ public: class CommandSeen final : public Command { - void SimpleSeen(CommandSource &source, const std::vector<Anope::string> ¶ms) + static void SimpleSeen(CommandSource &source, const std::vector<Anope::string> ¶ms) { if (!source.c || !source.c->ci) { @@ -440,7 +440,7 @@ public: } private: - void UpdateUser(const User *u, const TypeInfo Type, const Anope::string &nick, const Anope::string &nick2, const Anope::string &channel, const Anope::string &message) + static void UpdateUser(const User *u, const TypeInfo Type, const Anope::string &nick, const Anope::string &nick2, const Anope::string &channel, const Anope::string &message) { if (simple || !u->server->IsSynced()) return; |
