summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-30 23:03:52 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-30 23:03:52 +0000
commit6d3a59101ca5480af0a87735d5b90e5aa482f6de (patch)
tree377c6022dbcc56731442e9bdddf078edcdf5fcd2 /src
parentdfc2301e0b5e18a05d9543f5fec0cb55753a410c (diff)
Stop parsing inbound server lines on an error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12334 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}