From 243d8c2907ed4767ad5aa770cee6771be0d9939f Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 22 Sep 2008 01:11:23 +0000 Subject: Fix for bug #605 reported by MacGuyver, if a line is expired when we are adding another with the same hostmask, replace the existing line with the new one git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10589 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/addline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/addline.cpp b/src/modules/m_spanningtree/addline.cpp index 08f885797..e2f4002ce 100644 --- a/src/modules/m_spanningtree/addline.cpp +++ b/src/modules/m_spanningtree/addline.cpp @@ -58,7 +58,7 @@ bool TreeSocket::AddLine(const std::string &prefix, std::deque &par return true; } xl->SetCreateTime(atoi(params[3].c_str())); - if (ServerInstance->XLines->AddLine(xl,NULL)) + if (ServerInstance->XLines->AddLine(xl, NULL)) { if (xl->duration) { -- cgit v1.2.3