summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-06 13:20:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-06 13:20:12 +0000
commit9e3e292946c075ae962190ebc689287e941915c5 (patch)
treea5b3c00b3fd58e3b6714437aa4f75f39563f0ef2
parentfd4c15002bd7750b1110fdbea10f9e2c328f7123 (diff)
Fixed GLINE etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2220 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp7
1 files changed, 5 insertions, 2 deletions
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<std::string> params;
params.push_back(host);
- DoOneToMany(source->nick,linetype+"LINE",params);
+ type = linetype + line;
+ DoOneToMany(source->nick,type,params);
}
}
}