summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-04-02 12:53:37 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-04-02 12:53:37 -0700
commite440ec20a1f42925b7859cf7d67a201ac5ebade4 (patch)
tree027a85d14ade875b426788294793cba024b42f8e
parent39d7c35914268555edc86afd7e68fa30255a30aa (diff)
parentfc1b0f8d9d69d3b8fbe678c71e5d7c5de92f5bb8 (diff)
Merge pull request #459 from ChrisTX/insp20+fixgeoip
m_geoip: Fix compilation
-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";