diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-14 17:58:13 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-14 17:58:13 +0000 |
commit | 1a59b542f90c10799085ad2b2d8aed2a6c378acf (patch) | |
tree | 7ac0177f2f0862258559932c82c1f5826ea6965c /include/modes/umode_n.h | |
parent | a78cecbeb9c677bdd4b2f44c01195759af63485b (diff) |
Change how users are quit if they get a write error during the things they do.
Instead of QuitUser inside FlushWriteBuffer() (potentially *UNSAFE*), go back to using SetWriteError(),
but to ensure we dont get a cascade of bad write events from the socket engine, QuitUser the user before
returning in userrec::HandleEvent, after we can gaurantee ALL other reading or writing is done.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5987 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modes/umode_n.h')
0 files changed, 0 insertions, 0 deletions