diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2012-11-03 09:40:01 +0100 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2012-11-03 09:40:01 +0100 |
commit | 0c4701704689f0452cdaa540d744c231c48f3aa8 (patch) | |
tree | 02121fefa872b43ba3ff4245e76f04d8028aef85 /modules/protocol/ngircd.cpp | |
parent | 792091b23c4c0f442cec27dc7e314079d1618498 (diff) |
added support for SVSNICK in the ngircd protocol module
Diffstat (limited to 'modules/protocol/ngircd.cpp')
-rw-r--r-- | modules/protocol/ngircd.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp index d05f4741a..c5f2dc462 100644 --- a/modules/protocol/ngircd.cpp +++ b/modules/protocol/ngircd.cpp @@ -19,6 +19,7 @@ class ngIRCdProto : public IRCDProto ngIRCdProto() : IRCDProto("ngIRCd") { DefaultPseudoclientModes = "+oi"; + CanSVSNick = true; MaxModes = 5; } @@ -57,6 +58,11 @@ class ngIRCdProto : public IRCDProto this->SendNumeric(376, "*", ":End of MOTD command"); } + void SendForceNickChange(const User *u, const Anope::string &newnick, time_t when) anope_override + { + UplinkSocket::Message(Me) << "SVSNICK " << u->nick << " " << newnick; + } + void SendGlobalNotice(const BotInfo *bi, const Server *dest, const Anope::string &msg) anope_override { UplinkSocket::Message(bi) << "NOTICE $" << dest->GetName() << " :" << msg; |