1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 18:13:12 +02:00

Merge pull request #81 from miwob/master+invite_ts

hybrid.cpp: add our own SendInvite() which sends the channel's timestamp...
This commit is contained in:
Adam
2014-07-26 13:41:47 -04:00
+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;