summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp5
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())