aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-02-09 17:09:53 +0000
committerGravatar Sadie Powell2020-02-09 19:24:26 +0000
commit84eb33d4c3332030527039ddb3d9292a5076f381 (patch)
tree8b8a5e493c456991ec7be23b05d7971f6e22de14 /src/helperfuncs.cpp
parentMove FindNick to UserManager. (diff)
Move FindNickOnly to UserManager.
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 717c1098d..6b51c3836 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -38,17 +38,6 @@
#include "exitcodes.h"
#include <iostream>
-/* Find a user record by nickname and return a pointer to it */
-User* InspIRCd::FindNickOnly(const std::string &nick)
-{
- user_hash::iterator iter = this->Users.clientlist.find(nick);
-
- if (iter == this->Users.clientlist.end())
- return NULL;
-
- return iter->second;
-}
-
/* find a channel record by channel name and return a pointer to it */
Channel* InspIRCd::FindChan(const std::string &chan)