aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-08-10 14:43:29 +0000
committerGravatar brain2006-08-10 14:43:29 +0000
commit396c9ef9f7a96934d3227bb7d1d091315e3d4fa8 (patch)
treeb775fca47b8536d7e3c5df17480dbf4cca9f6ded /src/modules/m_httpd_stats.cpp
parentChange to use the core perl module Cwd rather than the pwd command. Should be... (diff)
downloadinspircd++-396c9ef9f7a96934d3227bb7d1d091315e3d4fa8.tar.gz
inspircd++-396c9ef9f7a96934d3227bb7d1d091315e3d4fa8.tar.bz2
inspircd++-396c9ef9f7a96934d3227bb7d1d091315e3d4fa8.zip
FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, GetClass, WriteOpers, GetServerDescription -> into classes
ServerConfig takes InspIRCd pointer in its constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index fa4f27f04..a8f66b6a7 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -145,7 +145,7 @@ class ModuleHttpStats : public Module
int n = 0;
for (SortedIter a = so->begin(); ((a != so->end()) && (n < 25)); a++, n++)
{
- chanrec* c = Srv->FindChannel(a->second.c_str());
+ chanrec* c = ServerInstance->FindChan(a->second.c_str());
if (c)
{
data << "<tr><td>" << a->first << "</td><td>" << a->second << "</td>";