From 932e8d13f81c7c94a89dc3702f6d45bc185f5dcf Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 24 Jan 2014 12:58:01 +0100 Subject: Convert UserChanList to an intrusively linked list --- src/modules/m_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_check.cpp') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index d12d2728d..c72f88faa 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -192,7 +192,7 @@ class CommandCheck : public Command for (UCListIter i = targuser->chans.begin(); i != targuser->chans.end(); i++) { - Channel* c = *i; + Channel* c = (*i)->chan; chliststr.append(c->GetPrefixChar(targuser)).append(c->name).append(" "); } -- cgit v1.3.1-10-gc9f91