From da45f24ff1ab4fbac1b674c820796e9b3850a380 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 14 Mar 2014 12:59:19 +0100 Subject: Change allocation of InspIRCd::chanlist to be physically part of the object containing it --- src/helperfuncs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helperfuncs.cpp') 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; -- cgit v1.3.1-10-gc9f91