diff options
-rw-r--r-- | src/modules/m_geoban.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_geoban.cpp b/src/modules/m_geoban.cpp index 8103d39c3..4d6967d7c 100644 --- a/src/modules/m_geoban.cpp +++ b/src/modules/m_geoban.cpp @@ -67,6 +67,9 @@ class ModuleGeoBan void OnWhois(Whois::Context& whois) CXX11_OVERRIDE { + if (whois.GetTarget()->server->IsULine()) + return; + Geolocation::Location* location = geoapi ? geoapi->GetLocation(whois.GetTarget()) : NULL; if (location) whois.SendLine(RPL_WHOISCOUNTRY, location->GetCode(), "is connecting from " + location->GetName()); |