aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-02-09 16:13:04 +0000
committerGravatar Sadie Powell2020-02-09 17:19:31 +0000
commit61070d489478793a6ba2ad0bd2ecc90d14555030 (patch)
tree94f196542ccc3c4cd735730b9e666459a82f574a /src/modules/m_check.cpp
parentMove FindUUID to the UserManager class. (diff)
downloadinspircd++-61070d489478793a6ba2ad0bd2ecc90d14555030.tar.gz
inspircd++-61070d489478793a6ba2ad0bd2ecc90d14555030.tar.bz2
inspircd++-61070d489478793a6ba2ad0bd2ecc90d14555030.zip
Move FindNick to UserManager.
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index c16860bf3..b4127929e 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -162,7 +162,7 @@ class CommandCheck : public Command
Channel *targchan;
std::string chliststr;
- targuser = ServerInstance->FindNick(parameters[0]);
+ targuser = ServerInstance->Users.Find(parameters[0]);
targchan = ServerInstance->FindChan(parameters[0]);
/*