fixed a wrong usercount on channels when kicks happen! Duh
This commit is contained in:
parent
f2723ee48a
commit
972a6ac642
2 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,7 @@ Shmad & ^Enigma & Fish^
|
|||
(F) denotes Fish
|
||||
* Version 3.7 * April 17th, 2003 (F)
|
||||
- Moved to new logging and conf API
|
||||
- Fixed a wrong usercount on channels with kick
|
||||
|
||||
* Version 3.6 * March 28th, 2003 (F)
|
||||
- Fix a problem with oper counts... something got messed up somewhere
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
** USA
|
||||
**
|
||||
** 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
|
||||
|
@ -34,7 +34,7 @@
|
|||
#define IncreaseUsers(x) x->users++; stats_network.users++; x->totusers++; stats_network.totusers++; daily.tot_users++;
|
||||
#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 Increasemems(x) x->members++; x->totmem++; x->lastseen = time(NULL); x->joinstoday++;
|
||||
#define Decreasemems(x) x->members--; x->lastseen = time(NULL);
|
||||
|
|
Reference in a new issue