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

hybrid.cpp: add our own SendInvite() which sends the channel's timestamp along the INVITE command. INVITE with channel TS will be mandatory in some future release of ircd-hybrid

This commit is contained in:
miwob
2014-06-19 16:27:05 +02:00
parent 4f7868b125
commit 37bd2c238e
+5
View File
@@ -51,6 +51,11 @@ class HybridProto : public IRCDProto
MaxModes = 4;
}
void SendInvite(const MessageSource &source, const Channel *c, User *u) anope_override
{
UplinkSocket::Message(source) << "INVITE " << u->GetUID() << " " << c->name << " " << c->creation_time;
}
void SendGlobalNotice(BotInfo *bi, const Server *dest, const Anope::string &msg) anope_override
{
UplinkSocket::Message(bi) << "NOTICE $$" << dest->GetName() << " :" << msg;