diff options
| author | 2014-01-24 12:58:01 +0100 | |
|---|---|---|
| committer | 2014-01-24 12:58:01 +0100 | |
| commit | 932e8d13f81c7c94a89dc3702f6d45bc185f5dcf (patch) | |
| tree | cb50264af2ff50ccf8070ce9123ee350d95ff7f8 /src/modules/m_check.cpp | |
| parent | Add intrusive list template (diff) | |
| download | inspircd++-932e8d13f81c7c94a89dc3702f6d45bc185f5dcf.tar.gz inspircd++-932e8d13f81c7c94a89dc3702f6d45bc185f5dcf.tar.bz2 inspircd++-932e8d13f81c7c94a89dc3702f6d45bc185f5dcf.zip | |
Convert UserChanList to an intrusively linked list
Diffstat (limited to 'src/modules/m_check.cpp')
| -rw-r--r-- | src/modules/m_check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(" "); } |
