]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_httpd_stats.cpp
Rename quietban to muteban, change character to +b m:, this way it fits with cmode...
[user/henk/code/inspircd.git] / src / modules / m_httpd_stats.cpp
index d3a5ae90dc622d16f85bf3981b22e26d3fdb8c92..5aa433318dd2d0c9070385b1f30bf8f99bc958d3 100644 (file)
@@ -118,7 +118,11 @@ class ModuleHttpStats : public Module
                                         data << "<channelops>" << c->GetOppedUsers()->size() << "</channelops>";
                                         data << "<channelhalfops>" << c->GetHalfoppedUsers()->size() << "</channelhalfops>";
                                         data << "<channelvoices>" << c->GetVoicedUsers()->size() << "</channelvoices>";
-                                        data << "<channeltopic>" << Sanitize(c->topic) << "</channeltopic>";
+                                        data << "<channeltopic>";
+                                               data << "<topictext>" << Sanitize(c->topic) << "</topictext>";
+                                               data << "<setby>" << Sanitize(c->setby) << "</setby>";
+                                               data << "<settime>" << c->topicset << "</settime>";
+                                       data << "</channeltopic>";
                                         data << "<channelmodes>" << Sanitize(c->ChanModes(true)) << "</channelmodes>";
                                         CUList* ulist = c->GetUsers();
 
@@ -157,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>";
@@ -199,9 +204,6 @@ static std::map<char, char const*> const &init_entities()
         entities['>'] = "gt";
         entities['&'] = "amp";
         entities['"'] = "quot";
-        entities[246] = "ouml";
-        entities[228] = "auml";
-        entities[252] = "uuml";
         return entities;
 }