diff options
| author | 2016-10-09 18:19:23 +0200 | |
|---|---|---|
| committer | 2016-10-09 18:21:18 +0200 | |
| commit | 9172e9dea822a04fbaf26b420c160558730dce15 (patch) | |
| tree | 6d956f40f15fc9761597c1d8baac4e1d621aae08 /src/modules/m_httpd_stats.cpp | |
| parent | Merge pull request #1210 from Adam-/insp20+saslnick (diff) | |
| download | inspircd++-9172e9dea822a04fbaf26b420c160558730dce15.tar.gz inspircd++-9172e9dea822a04fbaf26b420c160558730dce15.tar.bz2 inspircd++-9172e9dea822a04fbaf26b420c160558730dce15.zip | |
m_httpd_stats: Also sanitize other server gecos
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
| -rw-r--r-- | src/modules/m_httpd_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 2fc7ca7de..e17bf514f 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -213,7 +213,7 @@ class ModuleHttpStats : public Module data << "<server>"; data << "<servername>" << b->servername << "</servername>"; data << "<parentname>" << b->parentname << "</parentname>"; - data << "<gecos>" << b->gecos << "</gecos>"; + data << "<gecos>" << Sanitize(b->gecos) << "</gecos>"; data << "<usercount>" << b->usercount << "</usercount>"; // This is currently not implemented, so, commented out. // data << "<opercount>" << b->opercount << "</opercount>"; |
