diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-12 23:21:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-12 23:21:51 +0000 |
commit | 1c84dff59d85fb345fd15da173b397174cc7e7e9 (patch) | |
tree | b50a524efb3edaa6f5653113b69ad4c0d414ba2e /include/users.h | |
parent | 3679c5ebb764521ec940a526af16f61985ae15da (diff) |
Improve how we handle ELINEs on connect, turn O(2n) into O(n) (thats the best we can do with g/k/z/q checks for now :( )
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5968 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 d82b3d2cc..677f8816d 100644 --- a/include/users.h +++ b/include/users.h @@ -348,6 +348,14 @@ class userrec : public connection */ long recvqmax; + /** This is true if the user matched an exception when they connected to the ircd. + * It isnt valid after this point, and you should not attempt to do anything with it + * after this point, because the eline might be removed at a later time, and/or no + * longer be applicable to this user. It is only used to save doing the eline lookup + * twice (instead we do it once and set this value). + */ + bool exempt; + /** Default constructor * @throw Nothing at present */ |