diff options
| author | Adam <Adam@anope.org> | 2012-11-26 22:57:51 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-11-26 23:09:26 -0500 |
| commit | 8a6962fc363410928dc8d7c197fd3fbf3e315597 (patch) | |
| tree | 7eac6e127be5e4b691e96a1053f114870cc449aa /modules/protocol/inspircd20.cpp | |
| parent | f23bad140b3abf3350c552c27c4e1d995337ce79 (diff) | |
Keep track on what ircds we can svsjoin, add an svspart method
Diffstat (limited to 'modules/protocol/inspircd20.cpp')
| -rw-r--r-- | modules/protocol/inspircd20.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/protocol/inspircd20.cpp b/modules/protocol/inspircd20.cpp index b6895735d..37c5f7cb8 100644 --- a/modules/protocol/inspircd20.cpp +++ b/modules/protocol/inspircd20.cpp @@ -29,6 +29,7 @@ class InspIRCd20Proto : public IRCDProto { DefaultPseudoclientModes = "+I"; CanSVSNick = true; + CanSVSJoin = true; CanSetVHost = true; CanSetVIdent = true; CanSQLine = true; @@ -66,7 +67,8 @@ class InspIRCd20Proto : public IRCDProto void SendSVSHoldDel(const Anope::string &nick) anope_override { insp12->SendSVSHoldDel(nick); } void SendSZLineDel(const XLine *x) anope_override { insp12->SendSZLineDel(x); } void SendSZLine(User *u, const XLine *x) anope_override { insp12->SendSZLine(u, x); } - void SendSVSJoin(const BotInfo *source, const Anope::string &nick, const Anope::string &chan, const Anope::string &other) anope_override { insp12->SendSVSJoin(source, nick, chan, other); } + void SendSVSJoin(const BotInfo *source, const User *u, const Anope::string &chan, const Anope::string &other) anope_override { insp12->SendSVSJoin(source, u, chan, other); } + void SendSVSPart(const BotInfo *source, const User *u, const Anope::string &chan, const Anope::string ¶m) anope_override { insp12->SendSVSPart(source, u, chan, param); } void SendSWhois(const BotInfo *bi, const Anope::string &who, const Anope::string &mask) anope_override { insp12->SendSWhois(bi, who, mask); } void SendBOB() anope_override { insp12->SendBOB(); } void SendEOB() anope_override { insp12->SendEOB(); } |
