summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2013-12-14 22:55:10 -0800
committerAdam <adam@sigterm.info>2013-12-14 22:55:10 -0800
commit59df199aaedf8018979c444eaa8cca59ff001877 (patch)
treee7d873a3250f50b2ecb7c4bc47d7fcf7a9cefefd /src/modules/m_httpd_stats.cpp
parent357d190074ee58809b31ea0c08543566168bddf6 (diff)
parentad47ea662698e72ff8f79b03512b1e7fe81bdf53 (diff)
Merge pull request #689 from SaberUK/master+cxxify
Clean up various things.
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index 5114b26d5..346fe41f5 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -197,7 +197,7 @@ class ModuleHttpStats : public Module
LocalUser* lu = IS_LOCAL(u);
if (lu)
data << "<port>" << lu->GetServerPort() << "</port><servaddr>"
- << irc::sockets::satouser(lu->server_sa) << "</servaddr>";
+ << lu->server_sa.str() << "</servaddr>";
data << "<ipaddress>" << u->GetIPString() << "</ipaddress>";
DumpMeta(data, u);