From 040cd2edde65cdd5e35e0a09c048a00ddc5a3431 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 26 Mar 2006 13:18:38 +0000 Subject: IS_LOCAL check on flushwritebuf git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3756 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/users.cpp b/src/users.cpp index ccf754736..e67ad7cec 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -464,7 +464,8 @@ void kill_link(userrec *user,const char* r) WriteCommonExcept(user,"QUIT :%s",reason); } - user->FlushWriteBuf(); + if (IS_LOCAL(user)) + user->FlushWriteBuf(); FOREACH_MOD(I_OnUserDisconnect,OnUserDisconnect(user)); -- cgit v1.2.3