diff options
| author | 2020-02-09 17:09:53 +0000 | |
|---|---|---|
| committer | 2020-02-09 19:24:26 +0000 | |
| commit | 84eb33d4c3332030527039ddb3d9292a5076f381 (patch) | |
| tree | 8b8a5e493c456991ec7be23b05d7971f6e22de14 /src/modules/m_dccallow.cpp | |
| parent | Move FindNick to UserManager. (diff) | |
| download | inspircd++-84eb33d4c3332030527039ddb3d9292a5076f381.tar.gz inspircd++-84eb33d4c3332030527039ddb3d9292a5076f381.tar.bz2 inspircd++-84eb33d4c3332030527039ddb3d9292a5076f381.zip | |
Move FindNickOnly to UserManager.
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 84189947e..915801386 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -226,7 +226,7 @@ class CommandDccallow : public Command } std::string nick(parameters[0], 1); - User *target = ServerInstance->FindNickOnly(nick); + User *target = ServerInstance->Users.FindNick(nick); if ((target) && (!target->quitting) && (target->registered == REG_ALL)) { |
