summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChrisTX <chris@rev-crew.info>2013-04-02 21:51:25 +0200
committerChrisTX <chris@rev-crew.info>2013-04-02 21:51:25 +0200
commitfc1b0f8d9d69d3b8fbe678c71e5d7c5de92f5bb8 (patch)
tree027a85d14ade875b426788294793cba024b42f8e /src/modules
parent39d7c35914268555edc86afd7e68fa30255a30aa (diff)
m_geoip: Fix compilation
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_geoip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_geoip.cpp b/src/modules/extra/m_geoip.cpp
index 9dd682118..d3e053d7b 100644
--- a/src/modules/extra/m_geoip.cpp
+++ b/src/modules/extra/m_geoip.cpp
@@ -37,7 +37,7 @@ class ModuleGeoIP : public Module
void SetExt(LocalUser* user)
{
- const char* c = GeoIP_country_code_by_addr(gi, user->GetIPString());
+ const char* c = GeoIP_country_code_by_addr(gi, user->GetIPString().c_str());
if (!c)
c = "UNK";