From fd31d4aa29033327b52dd8ac3bbc545497f47d3d Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 1 Aug 2010 20:52:16 -0400 Subject: [PATCH] Mark our clients as protected, prevents users from using /cs kick etc to kick services clients --- src/bots.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bots.cpp b/src/bots.cpp index 940fd8f3b..a5536e510 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -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()