From 07d0d8f52f361c64b3c16d7e432f475cd2131a28 Mon Sep 17 00:00:00 2001
From: Peter Powell
Date: Sun, 24 Nov 2013 15:05:12 +0000
Subject: Remove some pointless code:
- Remove the CHARSET entry from ISUPPORT.
CHARSET was removed in draft-brocklesby-irc-isupport-03 and we
always used the default value anyway. This has also been removed
in the latest version of Charybdis.
- Remove irc::sockets::satouser.
This helper method was longer than the code it replaced.
---
src/modules/m_httpd_stats.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/modules/m_httpd_stats.cpp')
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 << "" << lu->GetServerPort() << ""
- << irc::sockets::satouser(lu->server_sa) << "";
+ << lu->server_sa.str() << "";
data << "" << u->GetIPString() << "";
DumpMeta(data, u);
--
cgit v1.3.1-10-gc9f91