summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-25 12:28:39 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-25 12:28:39 +0100
commitf3f8eae2cd68d8ce2c57f5df58db5833fb659cf5 (patch)
treea4c6114b60a5cc62cab420283f454c7cf830e561 /src/modules/extra
parent074727e7a74f8dcef6c250faf6a757f0274d27db (diff)
Omit the server name internally when building a /STATS reply and prepend it later
Diffstat (limited to 'src/modules/extra')
-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 142c5fbcf..394f7f9b4 100644
--- a/src/modules/extra/m_geoip.cpp
+++ b/src/modules/extra/m_geoip.cpp
@@ -110,7 +110,7 @@ class ModuleGeoIP : public Module
unknown++;
}
- std::string p = ServerInstance->Config->ServerName + " 801 " + user->nick + " :GeoIPSTATS ";
+ std::string p = "801 " + user->nick + " :GeoIPSTATS ";
for (std::map<std::string, unsigned int>::const_iterator i = results.begin(); i != results.end(); ++i)
{
out.push_back(p + i->first + " " + ConvToStr(i->second));