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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user