]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_httpd_stats.cpp
Clean up the protocol interface
[user/henk/code/inspircd.git] / src / modules / m_httpd_stats.cpp
index df98ef3f535e51ea63ca5a6e100fd72a458b4692..022d91f1e7d0836b0f70819d72cdb07dfaaac0a6 100644 (file)
@@ -208,10 +208,10 @@ class ModuleHttpStats : public Module
 
                                data << "</userlist><serverlist>";
 
-                               ProtoServerList sl;
+                               ProtocolInterface::ServerList sl;
                                ServerInstance->PI->GetServerList(sl);
 
-                               for (ProtoServerList::iterator b = sl.begin(); b != sl.end(); ++b)
+                               for (ProtocolInterface::ServerList::const_iterator b = sl.begin(); b != sl.end(); ++b)
                                {
                                        data << "<server>";
                                        data << "<servername>" << b->servername << "</servername>";