1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 08:33:12 +02:00

Make functions that don't use this static.

This commit is contained in:
Sadie Powell
2024-02-27 10:40:23 +00:00
parent 73d4ac6de0
commit b5b3c74477
35 changed files with 61 additions and 61 deletions
+2 -2
View File
@@ -185,7 +185,7 @@ public:
class CommandSeen final
: public Command
{
void SimpleSeen(CommandSource &source, const std::vector<Anope::string> &params)
static void SimpleSeen(CommandSource &source, const std::vector<Anope::string> &params)
{
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;