1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 11:26:37 +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
@@ -18,7 +18,7 @@ static ServiceReference<IRCDProto> hybrid("IRCDProto", "hybrid");
class RatboxProto final
: public IRCDProto
{
BotInfo *FindIntroduced()
static BotInfo *FindIntroduced()
{
BotInfo *bi = Config->GetClient("OperServ");
@@ -294,7 +294,7 @@ class ProtoRatbox final
IRCDMessageTBurst message_tburst;
IRCDMessageUID message_uid;
void AddModes()
static void AddModes()
{
/* user modes */
ModeManager::AddUserMode(new UserModeOperOnly("ADMIN", 'a'));