1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 07:56:39 +02:00

Add a default method for user's SendModeInternal

This commit is contained in:
Adam
2013-04-08 23:58:00 -05:00
parent 0a3d27a91f
commit 325b018ed0
7 changed files with 6 additions and 31 deletions
+5
View File
@@ -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())