diff options
| author | 2013-07-19 13:55:02 +0200 | |
|---|---|---|
| committer | 2013-08-25 13:41:36 +0200 | |
| commit | 61d586b1a3ad689669f6dcdc285b0d021ca814bd (patch) | |
| tree | 328d3148a653932445a2f8488500852b1e812e52 /src/modules/m_httpd_stats.cpp | |
| parent | Merge pull request #616 from ShutterQuick/inspircd+chanhistbot (diff) | |
| download | inspircd++-61d586b1a3ad689669f6dcdc285b0d021ca814bd.tar.gz inspircd++-61d586b1a3ad689669f6dcdc285b0d021ca814bd.tar.bz2 inspircd++-61d586b1a3ad689669f6dcdc285b0d021ca814bd.zip | |
Clean up the protocol interface
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
| -rw-r--r-- | src/modules/m_httpd_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index df98ef3f5..022d91f1e 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -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>"; |
