diff options
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 05310f202..07c929c9b 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -607,7 +607,7 @@ bool User::ChangeNick(const std::string& newnick, time_t newts) return false; } - User* const InUse = ServerInstance->FindNickOnly(newnick); + User* const InUse = ServerInstance->Users.FindNick(newnick); if (InUse == this) { // case change, don't need to check campers |
