summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_geoip.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-09 16:02:23 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-09 16:02:23 +0000
commitebdf1a0c6bacc1c7bdc01cb55d67e01cbce99826 (patch)
tree0450294ee2c64fe406c49648f5bad388d7b77901 /src/modules/extra/m_geoip.cpp
parent6d6f0ef3c67974e14cc226a442e09b2d0cb37146 (diff)
Fix these
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9444 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_geoip.cpp')
-rw-r--r--src/modules/extra/m_geoip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_geoip.cpp b/src/modules/extra/m_geoip.cpp
index 0e5723bc5..90bd4722e 100644
--- a/src/modules/extra/m_geoip.cpp
+++ b/src/modules/extra/m_geoip.cpp
@@ -73,12 +73,12 @@ class ModuleGeoIP : public Module
{
std::map<std::string, std::string>::iterator x = GeoBans.find(c);
if (x != GeoBans.end())
- User::QuitUser(ServerInstance, user, x->second);
+ ServerInstance->Users->QuitUser(user, x->second);
}
else
{
if (banunknown)
- User::QuitUser(ServerInstance, user, "Could not identify your country of origin. Access denied.");
+ ServerInstance->Users->QuitUser(user, "Could not identify your country of origin. Access denied.");
}
}
return 0;