diff options
| author | Adam <adam@sigterm.info> | 2014-07-26 13:41:47 -0400 |
|---|---|---|
| committer | Adam <adam@sigterm.info> | 2014-07-26 13:41:47 -0400 |
| commit | 52d422d020d67da8891751c97823f44598511f34 (patch) | |
| tree | f49aa93daa403e68c844f29fbb927a8003f25707 /modules | |
| parent | 43c460e593d69369ba50f2577d595e38a77ee60b (diff) | |
| parent | 37bd2c238eed91444a6812c6592c4e4ced3773a9 (diff) | |
Merge pull request #81 from miwob/master+invite_ts
hybrid.cpp: add our own SendInvite() which sends the channel's timestamp...
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/protocol/hybrid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp index 7c2c14098..52c442dc3 100644 --- a/modules/protocol/hybrid.cpp +++ b/modules/protocol/hybrid.cpp @@ -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; |
