summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp3
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()