From fc1b0f8d9d69d3b8fbe678c71e5d7c5de92f5bb8 Mon Sep 17 00:00:00 2001 From: ChrisTX Date: Tue, 2 Apr 2013 21:51:25 +0200 Subject: m_geoip: Fix compilation --- src/modules/extra/m_geoip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.3