From 44c9c64f60bcd73322f0deb48055045217d2095d Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 28 Oct 2006 15:22:58 +0000 Subject: Give this one a go dotslasher, apply to ALL servers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5565 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 344c25df2..ed9372607 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1902,7 +1902,7 @@ class TreeSocket : public InspSocket if (curlen > (480-NICKMAX)) { - buffer.append(list).append("\n"); + buffer.append(list).append("\r\n"); dlen = curlen = snprintf(list,MAXBUF,":%s FJOIN %s %lu",this->Instance->Config->ServerName,c->name,(unsigned long)c->age); ptr = list + dlen; @@ -1912,7 +1912,7 @@ class TreeSocket : public InspSocket } if (numusers) - buffer.append(list).append("\n"); + buffer.append(list).append("\r\n"); for (BanList::iterator b = c->bans.begin(); b != c->bans.end(); b++) { @@ -1922,7 +1922,7 @@ class TreeSocket : public InspSocket if (params.length() >= MAXMODES) { /* Wrap at MAXMODES */ - buffer.append(":").append(this->Instance->Config->ServerName).append(" FMODE ").append(c->name).append(" ").append(ConvToStr(c->age)).append(" +").append(modes).append(params).append("\n"); + buffer.append(":").append(this->Instance->Config->ServerName).append(" FMODE ").append(c->name).append(" ").append(ConvToStr(c->age)).append(" +").append(modes).append(params).append("\r\n"); modes = ""; params = ""; } @@ -1932,7 +1932,7 @@ class TreeSocket : public InspSocket /* Only send these if there are any */ if (!modes.empty()) - buffer.append("\n").append(":").append(this->Instance->Config->ServerName).append(" FMODE ").append(c->name).append(" ").append(ConvToStr(c->age)).append(" +").append(modes).append(params); + buffer.append("\r\n").append(":").append(this->Instance->Config->ServerName).append(" FMODE ").append(c->name).append(" ").append(ConvToStr(c->age)).append(" +").append(modes).append(params); this->WriteLine(buffer); } -- cgit v1.2.3