]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_check.cpp
Omit the server name internally when building a /STATS reply and prepend it later
[user/henk/code/inspircd.git] / src / modules / m_check.cpp
index d12d2728d6b30506c1e9e22e94c9e054c1626e7e..c72f88faa404f1a4436056719511406181c390f5 100644 (file)
@@ -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(" ");
                        }