aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.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/helperfuncs.cpp
parentMove FindUUID to the UserManager class. (diff)
Move FindNick to UserManager.
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index d78ed96a2..717c1098d 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -39,13 +39,6 @@
#include <iostream>
/* Find a user record by nickname and return a pointer to it */
-User* InspIRCd::FindNick(const std::string &nick)
-{
- if (!nick.empty() && isdigit(*nick.begin()))
- return FindUUID(nick);
- return FindNickOnly(nick);
-}
-
User* InspIRCd::FindNickOnly(const std::string &nick)
{
user_hash::iterator iter = this->Users.clientlist.find(nick);