summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-10 18:24:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-10 18:24:21 +0000
commita3719e0ad57b0c98471f71899658906fa5a3aaac (patch)
treee02928dc6f299a9d07a92154b6fd88df7867d685 /src
parent050e232499a04bb516c2dfee50b1f8c41ef1f5a6 (diff)
Add ident, port, ip to user info in <user> tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9695 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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 ed7223f20..9699ddca2 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -116,7 +116,7 @@ class ModuleHttpStats : public Module
if (u->IsModeSet(n))
modes += n;
- data << modes << "</modes>";
+ data << modes << "</modes><ident>" << u->ident << "</ident><port>" << u->GetPort() << "</port><ipaddress>" << u->GetIPString() << "</ipaddress>";
data << "</user>";
}