]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_check.cpp
Properly cull TreeServer objects when quitting several of them
[user/henk/code/inspircd.git] / src / modules / m_check.cpp
index 158b0c5331f2e8c59d72f0ccfa1650b420bffdd5..0a0ecab2bdcf12fc01cff4f85482c15cf00e247f 100644 (file)
@@ -104,8 +104,8 @@ class CommandCheck : public Command
                        LocalUser* loctarg = IS_LOCAL(targuser);
                        if (loctarg)
                        {
-                               user->SendText(checkstr + " clientaddr " + irc::sockets::satouser(&loctarg->client_sa));
-                               user->SendText(checkstr + " serveraddr " + irc::sockets::satouser(&loctarg->server_sa));
+                               user->SendText(checkstr + " clientaddr " + irc::sockets::satouser(loctarg->client_sa));
+                               user->SendText(checkstr + " serveraddr " + irc::sockets::satouser(loctarg->server_sa));
 
                                std::string classname = loctarg->GetClass()->name;
                                if (!classname.empty())