summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2014-07-26 13:41:47 -0400
committerAdam <adam@sigterm.info>2014-07-26 13:41:47 -0400
commit52d422d020d67da8891751c97823f44598511f34 (patch)
treef49aa93daa403e68c844f29fbb927a8003f25707 /modules
parent43c460e593d69369ba50f2577d595e38a77ee60b (diff)
parent37bd2c238eed91444a6812c6592c4e4ced3773a9 (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.cpp5
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;