From 9e3e292946c075ae962190ebc689287e941915c5 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 6 Dec 2005 13:20:12 +0000 Subject: Fixed GLINE etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2220 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree.cpp') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 98f6aa837..640192867 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2292,6 +2292,8 @@ class ModuleSpanningTree : public Module { if (std::string(source->server) == Srv->GetServerName()) { + std::string type = "LINE"; + type = linetype + line; if (adding) { char sduration[MAXBUF]; @@ -2300,13 +2302,14 @@ class ModuleSpanningTree : public Module params.push_back(host); params.push_back(sduration); params.push_back(":"+reason); - DoOneToMany(source->nick,linetype+"LINE",params); + DoOneToMany(source->nick,type,params); } else { std::deque params; params.push_back(host); - DoOneToMany(source->nick,linetype+"LINE",params); + type = linetype + line; + DoOneToMany(source->nick,type,params); } } } -- cgit v1.2.3