1
0
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:
Adam
2010-08-01 20:52:16 -04:00
parent 4fe1c9233c
commit fd31d4aa29
+3
View File
@@ -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()