diff options
| author | 2023-01-10 23:02:45 +0000 | |
|---|---|---|
| committer | 2023-01-10 23:30:34 +0000 | |
| commit | b2d86bb8a1bc965ad72d00ba5ef98d0e4bbfb155 (patch) | |
| tree | 3319a65d5472ec30780560003264fa815dbfd711 /src/command_parse.cpp | |
| parent | Fix some unnecessary string copies. (diff) | |
Qualify auto correctly in all cases.
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index d9de9c37a..98002f6f9 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -400,7 +400,7 @@ void CommandParser::TranslateSingleParam(TranslateType to, const std::string& it case TR_NICK: { /* Translate single nickname */ - auto user = ServerInstance->Users.Find(item); + auto* user = ServerInstance->Users.Find(item); if (user) dest.append(user->uuid); else |
