aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-03-14 12:59:19 +0100
committerGravatar Attila Molnar2014-03-14 12:59:19 +0100
commitda45f24ff1ab4fbac1b674c820796e9b3850a380 (patch)
treecae234ce6d5c645252587c22718bc23a8241f3ab /src/helperfuncs.cpp
parentAdd InspIRCd::GetChans(), remove ChannelCount() (diff)
Change allocation of InspIRCd::chanlist to be physically part of the object containing it
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 6a831bb04..850eaf4c0 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -70,9 +70,9 @@ User *InspIRCd::FindUUID(const std::string &uid)
Channel* InspIRCd::FindChan(const std::string &chan)
{
- chan_hash::iterator iter = chanlist->find(chan);
+ chan_hash::iterator iter = chanlist.find(chan);
- if (iter == chanlist->end())
+ if (iter == chanlist.end())
/* Couldn't find it */
return NULL;