diff options
| author | 2020-02-09 16:13:04 +0000 | |
|---|---|---|
| committer | 2020-02-09 17:19:31 +0000 | |
| commit | 61070d489478793a6ba2ad0bd2ecc90d14555030 (patch) | |
| tree | 94f196542ccc3c4cd735730b9e666459a82f574a /src/modules/m_chghost.cpp | |
| parent | Move FindUUID to the UserManager class. (diff) | |
Move FindNick to UserManager.
Diffstat (limited to 'src/modules/m_chghost.cpp')
| -rw-r--r-- | src/modules/m_chghost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 591028047..91d4fb2cc 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -58,7 +58,7 @@ class CommandChghost : public Command } } - User* dest = ServerInstance->FindNick(parameters[0]); + User* dest = ServerInstance->Users.Find(parameters[0]); // Allow services to change the host of unregistered users if ((!dest) || ((dest->registered != REG_ALL) && (!user->server->IsULine()))) |
