projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed cmd_users output filter
[NeonServV5.git]
/
src
/
ChanUser.h
diff --git
a/src/ChanUser.h
b/src/ChanUser.h
index e98a8cd25efeecddff6e6e28ac3ef791306b07b0..62d8361ca7c3a6c7313841588746b343845d669a 100644
(file)
--- a/
src/ChanUser.h
+++ b/
src/ChanUser.h
@@
-18,10
+18,11
@@
#define _ChanUser_h
#include "main.h"
#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_INVISIBLE 0x04
#define CHANUSERFLAG_HALFOPPED 0x08
+#define CHANUSERFLAG_PARTING 0x10
#define CHANUSERFLAG_OPPED_OR_VOICED (CHANUSERFLAG_OPPED | CHANUSERFLAG_HALFOPPED | CHANUSERFLAG_VOICED)
#define CHANUSERFLAG_OPPED_OR_VOICED (CHANUSERFLAG_OPPED | CHANUSERFLAG_HALFOPPED | CHANUSERFLAG_VOICED)
@@
-34,7
+35,8
@@
struct ChanUser {
struct ChanNode *chan;
struct UserNode *user;
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;
int chageEvents;
time_t changeTime;