From 675581cfc78f8eee6ba50206913a96bbb7947bcf Mon Sep 17 00:00:00 2001 From: Robby- Date: Tue, 12 Jun 2012 06:37:04 +0200 Subject: m_check: Include IP and gecos in host/IP-mask lookup results --- src/modules/m_check.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 8316b09fe..099661de7 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -225,13 +225,13 @@ class CommandCheck : public Command if (InspIRCd::Match(a->second->host, parameters[0], ascii_case_insensitive_map) || InspIRCd::Match(a->second->dhost, parameters[0], ascii_case_insensitive_map)) { /* host or vhost matches mask */ - user->SendText(checkstr + " match " + ConvToStr(++x) + " " + a->second->GetFullRealHost()); + user->SendText(checkstr + " match " + ConvToStr(++x) + " " + a->second->GetFullRealHost() + " " + a->second->GetIPString() + " " + a->second->fullname); } /* IP address */ else if (InspIRCd::MatchCIDR(a->second->GetIPString(), parameters[0])) { /* same IP. */ - user->SendText(checkstr + " match " + ConvToStr(++x) + " " + a->second->GetFullRealHost()); + user->SendText(checkstr + " match " + ConvToStr(++x) + " " + a->second->GetFullRealHost() + " " + a->second->GetIPString() + " " + a->second->fullname); } } -- cgit v1.2.3