mirror of
https://github.com/anope/anope.git
synced 2026-07-06 12:33:13 +02:00
Merge pull request #105 from miwob/master+use-uid-for-svsnick
- Change SendForceNickChange() to use UIDs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user