summaryrefslogtreecommitdiffstats
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-04-13 12:47:42 -0500
committerGravatar Daniel De Graaf2010-08-03 17:32:42 -0400
commitc1a07677db2bb0b023d5eb3565353cb0843eefbf (patch)
tree5d2bae34ba9d411ce19e9179498d289b1d2c468d /src/modules/m_check.cpp
parentFix "foo" < "foobar" comparison in irc::string (diff)
downloadinspircd++-c1a07677db2bb0b023d5eb3565353cb0843eefbf.tar.gz
inspircd++-c1a07677db2bb0b023d5eb3565353cb0843eefbf.tar.bz2
inspircd++-c1a07677db2bb0b023d5eb3565353cb0843eefbf.zip
Change UserChanList to an intrusive-style linked list
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp3
1 files changed, 1 insertions, 2 deletions
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);