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:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user