diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_httpd_stats.cpp | 3 | ||||
-rw-r--r-- | src/modules/m_spanningtree/protocolinterface.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index ad4723ccb..5aa433318 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -121,7 +121,7 @@ class ModuleHttpStats : public Module data << "<channeltopic>"; data << "<topictext>" << Sanitize(c->topic) << "</topictext>"; data << "<setby>" << Sanitize(c->setby) << "</setby>"; - data << "<settime>" << Sanitize(c->topicset) << "</settime>"; + data << "<settime>" << c->topicset << "</settime>"; data << "</channeltopic>"; data << "<channelmodes>" << Sanitize(c->ChanModes(true)) << "</channelmodes>"; CUList* ulist = c->GetUsers(); @@ -161,6 +161,7 @@ class ModuleHttpStats : public Module data << "<server>"; data << "<servername>" << b->servername << "</servername>"; data << "<parentname>" << b->parentname << "</parentname>"; + data << "<gecos>" << b->gecos << "</gecos>"; data << "<usercount>" << b->usercount << "</usercount>"; data << "<opercount>" << b->opercount << "</opercount>"; data << "<lagmillisecs>" << b->latencyms << "</lagmillisecs>"; diff --git a/src/modules/m_spanningtree/protocolinterface.cpp b/src/modules/m_spanningtree/protocolinterface.cpp index 850a27c22..66a18a5dd 100644 --- a/src/modules/m_spanningtree/protocolinterface.cpp +++ b/src/modules/m_spanningtree/protocolinterface.cpp @@ -16,6 +16,7 @@ void SpanningTreeProtocolInterface::GetServerList(ProtoServerList &sl) ps.parentname = s ? s->GetName() : ServerInstance->Config->ServerName; ps.usercount = i->second->GetUserCount(); ps.opercount = i->second->GetOperCount(); + ps.gecos = i->second->GetDesc(); ps.latencyms = i->second->rtt; sl.push_back(ps); } |