summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-04-19 14:35:50 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-04-19 14:35:50 +0200
commite36f8143e3bdf136dd6b6d43d1187500c3db6c43 (patch)
tree6e069db4d0d11b94064a2f63efdeb88540ad0d7d /src/protocol.cpp
parentba46b8e4abd8fef991732d5c52c858a229894a25 (diff)
Fix SVSNICK target being a nick even when UIDs are available
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp2
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, ...)