From 325b018ed0f39e21adad68d8d9223d505bef12f8 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 8 Apr 2013 23:58:00 -0500 Subject: Add a default method for user's SendModeInternal --- src/protocol.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/protocol.cpp') 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()) -- cgit