summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiwob <michael@wobst.at>2015-02-15 21:27:01 +0100
committermiwob <michael@wobst.at>2015-02-15 21:27:01 +0100
commit6ada3ec87180df159a2d55634a1972611f7fe62a (patch)
treefe378a4e24c2381017606b29545fdfa011892471
parentf44280a9c9f751d667b07b8de4e857cfbccd55d9 (diff)
- Change SendForceNickChange() to use UIDs
-rw-r--r--modules/protocol/hybrid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp
index 438229780..5e4ce490e 100644
--- a/modules/protocol/hybrid.cpp
+++ b/modules/protocol/hybrid.cpp
@@ -252,7 +252,7 @@ class HybridProto : public IRCDProto
void SendForceNickChange(User *u, const Anope::string &newnick, time_t when) anope_override
{
- UplinkSocket::Message(Me) << "SVSNICK " << u->nick << " " << newnick << " " << when;
+ UplinkSocket::Message(Me) << "SVSNICK " << u->GetUID() << " " << newnick << " " << when;
}
void SendSVSJoin(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &) anope_override