aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-07 12:18:12 +0000
committerGravatar Sadie Powell2019-02-07 12:18:12 +0000
commit2cc168cfc030497464e0cf30c19260f62670c298 (patch)
treee983613e81bc034fc797d0015630ffafc200f87c /src/helperfuncs.cpp
parentSnomaskManager: remove fakederef. (diff)
UserManager: remove fakederef.
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index ea586f226..e291fd975 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -42,9 +42,9 @@ User* InspIRCd::FindNick(const std::string &nick)
User* InspIRCd::FindNickOnly(const std::string &nick)
{
- user_hash::iterator iter = this->Users->clientlist.find(nick);
+ user_hash::iterator iter = this->Users.clientlist.find(nick);
- if (iter == this->Users->clientlist.end())
+ if (iter == this->Users.clientlist.end())
return NULL;
return iter->second;
@@ -52,9 +52,9 @@ User* InspIRCd::FindNickOnly(const std::string &nick)
User *InspIRCd::FindUUID(const std::string &uid)
{
- user_hash::iterator finduuid = this->Users->uuidlist.find(uid);
+ user_hash::iterator finduuid = this->Users.uuidlist.find(uid);
- if (finduuid == this->Users->uuidlist.end())
+ if (finduuid == this->Users.uuidlist.end())
return NULL;
return finduuid->second;