From: Attila Molnar Date: Sat, 5 Dec 2015 14:04:29 +0000 (+0100) Subject: m_sasl Enforce usage of uuids in server-to-server SASL command X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=33691d74dfb8b110c3c4247321fdc628bf680608;p=user%2Fhenk%2Fcode%2Finspircd.git m_sasl Enforce usage of uuids in server-to-server SASL command --- diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp index 341b3aea7..a38ed1a1b 100644 --- a/src/modules/m_sasl.cpp +++ b/src/modules/m_sasl.cpp @@ -218,7 +218,7 @@ class CommandSASL : public Command CmdResult Handle(const std::vector& parameters, User *user) { - User* target = ServerInstance->FindNick(parameters[1]); + User* target = ServerInstance->FindUUID(parameters[1]); if ((!target) || (IS_SERVER(target))) { ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "User not found in sasl ENCAP event: %s", parameters[1].c_str());