diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/extra/m_geoip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_geoip.cpp b/src/modules/extra/m_geoip.cpp index c03800f43..4b11e3df0 100644 --- a/src/modules/extra/m_geoip.cpp +++ b/src/modules/extra/m_geoip.cpp @@ -108,7 +108,7 @@ class ModuleGeoIP : public Module, public Whois::EventListener ModResult OnCheckBan(User *user, Channel *c, const std::string& mask) { - if ((mask.length() > 2) && (mask[0] == 'G') && (mask[1] == ':')) + if (extban && (mask.length() > 2) && (mask[0] == 'G') && (mask[1] == ':')) { std::string* cc = ext.get(user); if (!cc) |