From 95cb80851bdc0d466de87f8706459ae7ca027cb0 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 30 Dec 2005 23:42:37 +0000 Subject: Ommitting \r and \n from debug display of outbound lines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2712 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index fdcb0a432..396a6a262 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1236,7 +1236,8 @@ class TreeSocket : public InspSocket std::string ret = ""; while ((*line != '\n') && (strlen(line))) { - ret = ret + *line; + if ((*line != '\r') && (*line != '\n')) + ret = ret + *line; line++; } if ((*line == '\n') || (*line == '\r')) -- cgit v1.2.3