diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-19 08:38:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-19 08:38:26 +0000 |
commit | ddb970dd670bcd905c8f34458f8fcf70e9fd89bd (patch) | |
tree | dbd6e3fb9300eb04ff9feed8344d4e6891172141 /include/users.h | |
parent | be4c8f3f21f6b5c1a56a60d5843a62d5a3321039 (diff) |
1) Fix for nickname overruled with new cullList stuff -- we have to change their nick, its not safe to quit them as it messes up the nick hash.
2) Add a mute flag for users, so we can drop commands from users who have been placed on the cullList. This is independent of the actual cullList and can be
used as a general mute flag e.g. by shun modules.
3) Fix /kill to also not quit the user immediately, remove need for CMD_USER_DELETED return anywhere in the code.
*** THIS NEEDS TESTING BY QA ***
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6596 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 8 |
1 files changed, 8 insertions, 0 deletions
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. */ |