diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-10 17:46:38 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-10 17:46:38 +0000 |
commit | 1e3c3d20088c148f20f2237cea54310ca4a8b98c (patch) | |
tree | 180892771e5b2446829411693b868b81c2a75e5c /src/modules/m_sslmodes.cpp | |
parent | b55d5722c581b43ebb854c8403ba25ba5411979f (diff) |
Clever stuff for applying lines (this needs testing);
When bursting, we clear a bitmask to 0.
When we receive glines etc, we OR bits in the bitmask to values of APPLY_GLINES, APPLY_KLINES etc depending on what we've received, e.g. is it ADDLINE G, or ADDLINE K.
When we ENDBURST at the end of the burst, pass the bitmask to apply_lines, rather than APPLY_ALL :)
NOTE: While not bursting, the bitmask is flushed after each gline, but this is still faster as only the line type we just added will be ORed in.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6289 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sslmodes.cpp')
0 files changed, 0 insertions, 0 deletions