diff options
| author | 2014-03-14 12:59:19 +0100 | |
|---|---|---|
| committer | 2014-03-14 12:59:19 +0100 | |
| commit | da45f24ff1ab4fbac1b674c820796e9b3850a380 (patch) | |
| tree | cae234ce6d5c645252587c22718bc23a8241f3ab /src/helperfuncs.cpp | |
| parent | Add 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.cpp | 4 |
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; |
