From c1a07677db2bb0b023d5eb3565353cb0843eefbf Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Tue, 13 Apr 2010 12:47:42 -0500 Subject: Change UserChanList to an intrusive-style linked list --- src/modules/m_check.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules/m_check.cpp') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 5bfabb1cf..97b4f116f 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -136,8 +136,7 @@ class CommandCheck : public Command for (UCListIter i = targuser->chans.begin(); i != targuser->chans.end(); i++) { - Channel* c = *i; - chliststr.append(c->GetPrefixChar(targuser)).append(c->name).append(" "); + chliststr.append(i->chan->GetPrefixChar(targuser)).append(i->chan->name).append(" "); } std::stringstream dump(chliststr); -- cgit v1.3.1-10-gc9f91