diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-12-05 15:04:29 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-12-05 15:04:29 +0100 |
commit | 33691d74dfb8b110c3c4247321fdc628bf680608 (patch) | |
tree | 61fd666a1989a32267694274e4fb1dee2b3b4095 /src | |
parent | 0528e83604da80d87ae10f85841a5a9e33274f71 (diff) |
m_sasl Enforce usage of uuids in server-to-server SASL command
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_sasl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string>& 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()); |