diff options
author | Adam <Adam@anope.org> | 2012-12-28 10:37:54 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-12-28 10:43:30 -0500 |
commit | b591e8cdc8b1bc40a6a59b54dcb6266d9656b616 (patch) | |
tree | 2a31259930d9915d9248a29dc5b97006620675a2 /src/users.cpp | |
parent | 379b2ccf92b6124f2026a5ec683cfc98f08e223a (diff) |
Use the same object for chanusercontainer and userchancontainer
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 3bbc0d7fd..0e2ed34f9 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -726,9 +726,9 @@ Anope::string User::GetModes() const return ret; } -ChannelContainer *User::FindChannel(const Channel *c) const +ChanUserContainer *User::FindChannel(const Channel *c) const { - for (UChannelList::const_iterator it = this->chans.begin(), it_end = this->chans.end(); it != it_end; ++it) + for (User::ChanUserList::const_iterator it = this->chans.begin(), it_end = this->chans.end(); it != it_end; ++it) if ((*it)->chan == c) return *it; return NULL; |