diff options
| author | 2010-04-13 12:47:42 -0500 | |
|---|---|---|
| committer | 2010-08-03 17:32:42 -0400 | |
| commit | c1a07677db2bb0b023d5eb3565353cb0843eefbf (patch) | |
| tree | 5d2bae34ba9d411ce19e9179498d289b1d2c468d /src/modules/m_check.cpp | |
| parent | Fix "foo" < "foobar" comparison in irc::string (diff) | |
| download | inspircd++-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.cpp | 3 |
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); |
