summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-29 00:24:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-29 00:24:29 +0000
commit145f7fbe605785a76a78f57982d5d24ddaee2bf3 (patch)
treedcfc5da1485affb7e8d360a94d7128f8d31a7e12 /src/modules/m_spanningtree
parent22c83f35d4d65d4c2947830b7795a9e344fa1677 (diff)
Big fat fixme here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8421 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp
index 5b79e1aee..84964833f 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -1218,7 +1218,10 @@ void TreeSocket::SendXLines(TreeServer* Current)
std::string n = this->Instance->Config->GetSID();
const char* sn = n.c_str();
/* Yes, these arent too nice looking, but they get the job done */
- for (std::vector<ZLine*>::iterator i = Instance->XLines->zlines.begin(); i != Instance->XLines->zlines.end(); i++)
+
+ /* FIXME: FOR THE LOVE OF ZOMBIE JESUS, FIX ME */
+
+/* for (std::vector<ZLine*>::iterator i = Instance->XLines->zlines.begin(); i != Instance->XLines->zlines.end(); i++)
{
snprintf(data,MAXBUF,":%s ADDLINE Z %s %s %lu %lu :%s\r\n",sn,(*i)->ipaddr,(*i)->source,(unsigned long)(*i)->set_time,(unsigned long)(*i)->duration,(*i)->reason);
buffer.append(data);
@@ -1238,7 +1241,7 @@ void TreeSocket::SendXLines(TreeServer* Current)
snprintf(data,MAXBUF,":%s ADDLINE E %s@%s %s %lu %lu :%s\r\n",sn,(*i)->identmask,(*i)->hostmask,(*i)->source,(unsigned long)(*i)->set_time,(unsigned long)(*i)->duration,(*i)->reason);
buffer.append(data);
}
-
+*/
if (!buffer.empty())
this->WriteLine(buffer);
}