From 33691d74dfb8b110c3c4247321fdc628bf680608 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 5 Dec 2015 15:04:29 +0100 Subject: m_sasl Enforce usage of uuids in server-to-server SASL command --- src/modules/m_sasl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); -- cgit v1.2.3