diff options
author | Adam <Adam@anope.org> | 2010-08-01 20:52:16 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-01 20:52:16 -0400 |
commit | fd31d4aa29033327b52dd8ac3bbc545497f47d3d (patch) | |
tree | 5305fdd8fe7c81690bd165a225761d6aa14286ce /src/bots.cpp | |
parent | 4fe1c9233c61b75018f7b49d069aca6de76cc9f5 (diff) |
Mark our clients as protected, prevents users from using /cs kick etc to kick services clients
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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() |