diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-03-02 17:00:12 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-03-02 17:00:12 +0100 |
commit | 473f3d3b2f973a1d746aa456dd874e4094ac9388 (patch) | |
tree | 1b315320c866bb966465c6511be168ea14ed336c /src/modules/m_spanningtree | |
parent | 1066fae0407abb79f973cd99a42479136a62d696 (diff) |
m_spanningtree Don't send snotices to servers about remote servers splitting
The snotice is sent to opers when the SQUIT is processed by their server
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index cb2c93548..7b233169d 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -201,7 +201,7 @@ void TreeSocket::Squit(TreeServer* Current, const std::string &reason) } else { - ServerInstance->SNO->WriteGlobalSno('L', "Server \002"+Current->GetName()+"\002 split from server \002"+Current->GetParent()->GetName()+"\002 with reason: "+reason); + ServerInstance->SNO->WriteToSnoMask('L', "Server \002"+Current->GetName()+"\002 split from server \002"+Current->GetParent()->GetName()+"\002 with reason: "+reason); } int num_lost_servers = 0; int num_lost_users = 0; |