diff options
author | Adam <Adam@anope.org> | 2013-04-08 23:58:00 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-04-09 00:00:52 -0500 |
commit | 325b018ed0f39e21adad68d8d9223d505bef12f8 (patch) | |
tree | 1346d34fb4d685e8ffd2fa02670f9df0986eef1a /src/protocol.cpp | |
parent | 0a3d27a91f826db7c3bb639901450a5b00c80b64 (diff) |
Add a default method for user's SendModeInternal
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index b97f1158e..a66bf8227 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -54,6 +54,11 @@ void IRCDProto::SendModeInternal(const BotInfo *bi, const Channel *dest, const A UplinkSocket::Message(bi) << "MODE " << dest->name << " " << buf; } +void IRCDProto::SendModeInternal(const BotInfo *bi, const User *dest, const Anope::string &buf) +{ + UplinkSocket::Message(bi) << "MODE " << dest->GetUID() << " " << buf; +} + void IRCDProto::SendKickInternal(const BotInfo *bi, const Channel *c, const User *u, const Anope::string &r) { if (!r.empty()) |