diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-04-19 14:35:50 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-04-19 14:35:50 +0200 |
commit | e36f8143e3bdf136dd6b6d43d1187500c3db6c43 (patch) | |
tree | 6e069db4d0d11b94064a2f63efdeb88540ad0d7d /src/protocol.cpp | |
parent | ba46b8e4abd8fef991732d5c52c858a229894a25 (diff) |
Fix SVSNICK target being a nick even when UIDs are available
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index b90c44400..89e4a3c86 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -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, ...) |