From 1e625b6837fdf96616cfc49700aa28d184a7c171 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 1 Aug 2013 13:16:18 +0000 Subject: Use MessageSource as the source for many IRCDProto funcs Keep track of what user modes are oper only/server only/etc --- src/bots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bots.cpp') diff --git a/src/bots.cpp b/src/bots.cpp index 315045b86..ddffe53fe 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -38,7 +38,7 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A { Anope::string tmodes = !this->botmodes.empty() ? ("+" + this->botmodes) : (IRCD ? IRCD->DefaultPseudoclientModes : ""); if (!tmodes.empty()) - this->SetModesInternal(tmodes.c_str()); + this->SetModesInternal(this, tmodes.c_str()); XLine x(this->nick, "Reserved for services"); IRCD->SendSQLine(NULL, &x); -- cgit