1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 23:13:12 +02:00

Merge pull request #72 from attilamolnar/2.0+svsnickfix

Fix SVSNICK target being a nick even when UIDs are available
This commit is contained in:
Adam
2014-04-20 02:03:03 -04:00
+1 -1
View File
@@ -276,7 +276,7 @@ void IRCDProto::SendNickChange(User *u, const Anope::string &newnick)
void IRCDProto::SendForceNickChange(User *u, const Anope::string &newnick, time_t when)
{
UplinkSocket::Message() << "SVSNICK " << u->nick << " " << newnick << " " << when;
UplinkSocket::Message() << "SVSNICK " << u->GetUID() << " " << newnick << " " << when;
}
void IRCDProto::SendCTCP(const MessageSource &source, const Anope::string &dest, const char *fmt, ...)