diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-02 20:17:21 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-02 20:17:21 +0000 |
commit | 4085aeb86f90cef4c566e23b2a00a1430bb0feaf (patch) | |
tree | 4376644ae60823c75fd7481d7920bcde7f503157 /src | |
parent | 8d395f8c46ca9f61710a6c30e2e24c0b9627d2e8 (diff) |
Dont propogate K-lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8469 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 470ae7b36..9497d25d0 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -738,6 +738,9 @@ void ModuleSpanningTree::OnOper(User* user, const std::string &opertype) void ModuleSpanningTree::OnAddLine(XLine* line, User* user) { + if (line->type == "K") + return; + char data[MAXBUF]; snprintf(data,MAXBUF,"%s %s %s %lu %lu :%s", line->type.c_str(), line->Displayable(), ServerInstance->Config->ServerName, line->set_time, line->duration, line->reason); @@ -758,6 +761,9 @@ void ModuleSpanningTree::OnAddLine(XLine* line, User* user) void ModuleSpanningTree::OnDelLine(XLine* line, User* user) { + if (line->type == "K") + return; + char data[MAXBUF]; snprintf(data,MAXBUF,"%s %s", line->type.c_str(), line->Displayable()); std::deque<std::string> params; |