fixed a wrong usercount on channels when kicks happen! Duh

This commit is contained in:
fishwaldo 2003-04-18 06:53:38 +00:00
parent f2723ee48a
commit 972a6ac642
2 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@ Shmad & ^Enigma & Fish^
(F) denotes Fish (F) denotes Fish
* Version 3.7 * April 17th, 2003 (F) * Version 3.7 * April 17th, 2003 (F)
- Moved to new logging and conf API - Moved to new logging and conf API
- Fixed a wrong usercount on channels with kick
* Version 3.6 * March 28th, 2003 (F) * Version 3.6 * March 28th, 2003 (F)
- Fix a problem with oper counts... something got messed up somewhere - Fix a problem with oper counts... something got messed up somewhere

View file

@ -20,7 +20,7 @@
** USA ** USA
** **
** NeoStats CVS Identification ** NeoStats CVS Identification
** $Id: m_stats.h,v 1.8 2002/12/13 10:50:09 fishwaldo Exp $ ** $Id: m_stats.h,v 1.9 2003/04/18 06:53:38 fishwaldo Exp $
*/ */
#ifndef M_STATS_H #ifndef M_STATS_H
@ -34,7 +34,7 @@
#define IncreaseUsers(x) x->users++; stats_network.users++; x->totusers++; stats_network.totusers++; daily.tot_users++; #define IncreaseUsers(x) x->users++; stats_network.users++; x->totusers++; stats_network.totusers++; daily.tot_users++;
#define IncreaseServers() stats_network.servers++; #define IncreaseServers() stats_network.servers++;
#define IncreaseKicks(x) x->kicks++; x->members--; x->maxkickstoday++; #define IncreaseKicks(x) x->kicks++; x->maxkickstoday++;
#define IncreaseTops(x) x->topics++; x->topicstoday++; #define IncreaseTops(x) x->topics++; x->topicstoday++;
#define Increasemems(x) x->members++; x->totmem++; x->lastseen = time(NULL); x->joinstoday++; #define Increasemems(x) x->members++; x->totmem++; x->lastseen = time(NULL); x->joinstoday++;
#define Decreasemems(x) x->members--; x->lastseen = time(NULL); #define Decreasemems(x) x->members--; x->lastseen = time(NULL);