From 6d3a59101ca5480af0a87735d5b90e5aa482f6de Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 30 Jan 2010 23:03:52 +0000 Subject: Stop parsing inbound server lines on an error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12334 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket1.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 71cca66c4..4a1a27ba0 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -230,6 +230,8 @@ void TreeSocket::OnDataReady() break; } ProcessLine(line); + if (!getError().empty()) + break; } Utils->Creator->loopCall = false; } -- cgit v1.2.3