diff options
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); |
