diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 2 | ||||
-rw-r--r-- | include/users.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 24a1be91f..473f84547 100644 --- a/include/modules.h +++ b/include/modules.h @@ -75,7 +75,7 @@ enum MessageType { * ipv4 servers, so this value will be ten times as * high on ipv6 servers. */ -#define NATIVE_API_VERSION 11013 +#define NATIVE_API_VERSION 11014 #ifdef IPV6 #define API_VERSION (NATIVE_API_VERSION * 10) #else diff --git a/include/users.h b/include/users.h index 1cdd53e80..d6d6fe0ab 100644 --- a/include/users.h +++ b/include/users.h @@ -414,6 +414,14 @@ class userrec : public connection */ long threshold; + /** If this is set to true, then all read operations for the user + * are dropped into the bit-bucket. + * This is used by the global CullList, but please note that setting this value + * alone will NOT cause the user to quit. This means it can be used seperately, + * for example by shun modules etc. + */ + bool muted; + /** IPV4 or IPV6 ip address. Use SetSockAddr to set this and GetProtocolFamily/ * GetIPString/GetPort to obtain its values. */ |