diff options
| author | 2020-02-09 17:09:53 +0000 | |
|---|---|---|
| committer | 2020-02-09 19:24:26 +0000 | |
| commit | 84eb33d4c3332030527039ddb3d9292a5076f381 (patch) | |
| tree | 8b8a5e493c456991ec7be23b05d7971f6e22de14 /src/users.cpp | |
| parent | Move FindNick to UserManager. (diff) | |
Move FindNickOnly to UserManager.
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 |
