mirror of
https://github.com/anope/anope.git
synced 2026-06-30 21:46:39 +02:00
Fix SVSNICK target being a nick even when UIDs are available
This commit is contained in:
+1
-1
@@ -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, ...)
|
||||
|
||||
Reference in New Issue
Block a user