]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_httpd_stats.cpp
Make User:: nick/ident/dhost/fullname and some other things std::string instead of...
[user/henk/code/inspircd.git] / src / modules / m_httpd_stats.cpp
index d0963b2af883ae37fcd495d41b9ac2de51b7e03c..131a9dca1071020e2eacfd2e1a370a1abfc65945 100644 (file)
@@ -57,6 +57,9 @@ class ModuleHttpStats : public Module
                                case '&':
                                        ret += "&";
                                break;
+                               case '"':
+                                       ret += """;
+                               break;
                                default:
                                        if (*x < 32 || *x > 126)
                                        {
@@ -123,7 +126,7 @@ class ModuleHttpStats : public Module
                                        data << "<channelhalfops>" << c->GetHalfoppedUsers()->size() << "</channelhalfops>";
                                        data << "<channelvoices>" << c->GetVoicedUsers()->size() << "</channelvoices>";
                                        data << "<channeltopic>" << Sanitize(c->topic) << "</channeltopic>";
-                                       data << "<channelmodes>" << Sanitize(c->ChanModes(false)) << "</channelmodes>";
+                                       data << "<channelmodes>" << Sanitize(c->ChanModes(true)) << "</channelmodes>";
                                        CUList* ulist = c->GetUsers();
 
                                        for (CUList::iterator x = ulist->begin(); x != ulist->end(); ++x)