diff options
author | Robby- <robbyke@gmail.com> | 2012-06-12 06:37:04 +0200 |
---|---|---|
committer | Sir Poggles <sir.pogsalot@gmail.com> | 2012-06-12 22:49:28 -0700 |
commit | 675581cfc78f8eee6ba50206913a96bbb7947bcf (patch) | |
tree | feb0e986e5c4ee06f656fc1760232c3eff510eaf /src | |
parent | 70ad57e2fdae40c8641b5c5e1fd07a8f07dfeb81 (diff) |
m_check: Include IP and gecos in host/IP-mask lookup results
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_check.cpp | 4 |
1 files 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); } } |