From b57c7f4e466f72fdd2ac3deca42caa1ea7748338 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 15 Oct 2007 20:59:05 +0000 Subject: In the grand tradition of huge fucking commits: - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd_stats.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/m_httpd_stats.cpp') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 445af1826..2d022ad30 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -137,7 +137,7 @@ class ModuleHttpStats : public Module for (SortedIter a = so->begin(); a != so->end(); a++) { - chanrec* c = ServerInstance->FindChan(a->second.c_str()); + Channel* c = ServerInstance->FindChan(a->second.c_str()); if (c && !c->IsModeSet('s') && !c->IsModeSet('p')) { data << ""; @@ -176,7 +176,7 @@ class ModuleHttpStats : public Module } } - void OnChannelDelete(chanrec* chan) + void OnChannelDelete(Channel* chan) { StatsIter a = sh->find(chan->name); if (a != sh->end()) @@ -186,7 +186,7 @@ class ModuleHttpStats : public Module this->changed = true; } - void OnUserJoin(userrec* user, chanrec* channel, bool &silent) + void OnUserJoin(User* user, Channel* channel, bool &silent) { StatsIter a = sh->find(channel->name); if (a != sh->end()) @@ -201,7 +201,7 @@ class ModuleHttpStats : public Module this->changed = true; } - void OnUserPart(userrec* user, chanrec* channel, const std::string &partmessage, bool &silent) + void OnUserPart(User* user, Channel* channel, const std::string &partmessage, bool &silent) { StatsIter a = sh->find(channel->name); if (a != sh->end()) @@ -211,11 +211,11 @@ class ModuleHttpStats : public Module this->changed = true; } - void OnUserQuit(userrec* user, const std::string &message, const std::string &oper_message) + void OnUserQuit(User* user, const std::string &message, const std::string &oper_message) { for (UCListIter v = user->chans.begin(); v != user->chans.end(); v++) { - chanrec* c = v->first; + Channel* c = v->first; StatsIter a = sh->find(c->name); if (a != sh->end()) { -- cgit v1.3.1-10-gc9f91