diff options
author | Adam <Adam@anope.org> | 2012-10-13 00:32:29 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-13 00:37:10 -0400 |
commit | 4424abd15d32c819ca22a7c49c4380895527e337 (patch) | |
tree | d34c183bdd9244afca9c8de3730c3b3d5ed8105a /src/protocol.cpp | |
parent | 76a0471c291d2b8045b52ec8e9d683a38bff47ff (diff) |
Add m_sql_oper
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 14fe249ed..5d836b7f4 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -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()) |