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_callerid.cpp | |
| parent | Move FindUUID to the UserManager class. (diff) | |
Move FindNick to UserManager.
Diffstat (limited to 'src/modules/m_callerid.cpp')
| -rw-r--r-- | src/modules/m_callerid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 93867a38c..cd60a4e81 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -107,7 +107,7 @@ struct CallerIDExtInfo : public ExtensionItem while (s.GetToken(tok)) { - User *u = ServerInstance->FindNick(tok); + User *u = ServerInstance->Users.Find(tok); if ((u) && (u->registered == REG_ALL) && (!u->quitting)) { if (dat->accepting.insert(u).second) @@ -166,7 +166,7 @@ class CommandAccept : public Command User* target; if (!cmdfrom || !IS_LOCAL(cmdfrom)) - target = ServerInstance->FindNick(tok); + target = ServerInstance->Users.Find(tok); else target = ServerInstance->FindNickOnly(tok); |
