diff options
| author | 2007-10-15 20:59:05 +0000 | |
|---|---|---|
| committer | 2007-10-15 20:59:05 +0000 | |
| commit | b57c7f4e466f72fdd2ac3deca42caa1ea7748338 (patch) | |
| tree | 3cbfe66354be62ddd22d7614e9d6116f465e807b /src/modules/m_httpd_stats.cpp | |
| parent | class command_t -> class Command. Whey :D (diff) | |
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
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
| -rw-r--r-- | src/modules/m_httpd_stats.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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 << "<channel>"; @@ -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()) { |
