aboutsummaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 579c99fd8..d511723dc 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -425,7 +425,7 @@ void CommandParser::TranslateSingleParam(TranslateType to, const std::string& it
case TR_NICK:
{
/* Translate single nickname */
- User* user = ServerInstance->FindNick(item);
+ User* user = ServerInstance->Users.Find(item);
if (user)
dest.append(user->uuid);
else