1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 17:06:39 +02:00

Add m_sql_oper

This commit is contained in:
Adam
2012-10-13 00:32:29 -04:00
parent 76a0471c29
commit 4424abd15d
6 changed files with 154 additions and 1 deletions
+6
View File
@@ -316,6 +316,12 @@ bool IRCDProto::IsChannelValid(const Anope::string &chan)
return true;
}
void IRCDProto::SendOper(User *u)
{
SendNumericInternal(381, u->GetUID(), ":You are now an IRC operator (set by services)");
u->SetMode(findbot(Config->OperServ), UMODE_OPER);
}
MessageSource::MessageSource(const Anope::string &src) : source(src), u(NULL), s(NULL)
{
if (src.empty())