mirror of
https://github.com/anope/anope.git
synced 2026-06-26 20:16:38 +02:00
Mark our clients as protected, prevents users from using /cs kick etc to kick services clients
This commit is contained in:
@@ -55,6 +55,9 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A
|
||||
XLine x(this->nick, "Reserved for services");
|
||||
ircdproto->SendSQLine(&x);
|
||||
}
|
||||
|
||||
this->SetModeInternal(ModeManager::FindUserModeByName(UMODE_PROTECTED));
|
||||
this->SetModeInternal(ModeManager::FindUserModeByName(UMODE_GOD));
|
||||
}
|
||||
|
||||
BotInfo::~BotInfo()
|
||||
|
||||
Reference in New Issue
Block a user