X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2FChanUser.h;h=62d8361ca7c3a6c7313841588746b343845d669a;hp=e98a8cd25efeecddff6e6e28ac3ef791306b07b0;hb=HEAD;hpb=fc61be208ca6dbf2fd915591c8dc7e5ef5779891 diff --git a/src/ChanUser.h b/src/ChanUser.h index e98a8cd..62d8361 100644 --- a/src/ChanUser.h +++ b/src/ChanUser.h @@ -18,10 +18,11 @@ #define _ChanUser_h #include "main.h" -#define CHANUSERFLAG_OPPED 0x01 -#define CHANUSERFLAG_VOICED 0x02 +#define CHANUSERFLAG_OPPED 0x01 +#define CHANUSERFLAG_VOICED 0x02 #define CHANUSERFLAG_INVISIBLE 0x04 #define CHANUSERFLAG_HALFOPPED 0x08 +#define CHANUSERFLAG_PARTING 0x10 #define CHANUSERFLAG_OPPED_OR_VOICED (CHANUSERFLAG_OPPED | CHANUSERFLAG_HALFOPPED | CHANUSERFLAG_VOICED) @@ -34,7 +35,8 @@ struct ChanUser { struct ChanNode *chan; struct UserNode *user; - int visCount; //visible counter - if this is 0, the ChanUser gets removed + int visCount : 8; //visible counter - if this is 0, the ChanUser gets removed + int old_visCount : 8; int chageEvents; time_t changeTime;