summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-12-28 10:37:54 -0500
committerAdam <Adam@anope.org>2012-12-28 10:43:30 -0500
commitb591e8cdc8b1bc40a6a59b54dcb6266d9656b616 (patch)
tree2a31259930d9915d9248a29dc5b97006620675a2 /src/users.cpp
parent379b2ccf92b6124f2026a5ec683cfc98f08e223a (diff)
Use the same object for chanusercontainer and userchancontainer
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
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;