diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-07 20:54:01 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-07 20:54:01 +0000 |
commit | 3f95fe8a05d34d5ac1614a26472e3afc7033dd16 (patch) | |
tree | 0f208e5428804a14a3639ce2aebd929e108b09d2 /src/modules/m_spanningtree/treesocket1.cpp | |
parent | f15165b49a873aade78e50555d12df4e11189119 (diff) |
Correct the silentbursts logic
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6908 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treesocket1.cpp')
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 4e4a08447..e71f4117b 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -954,10 +954,8 @@ bool TreeSocket::IntroduceClient(const std::string &source, std::deque<std::stri Instance->AddGlobalClone(_new); - bool send = (!this->Instance->SilentULine(_new->server)); - if (send) - send = (this->Utils->quiet_bursts && !this->bursting); - + bool send = !((this->Utils->quiet_bursts && this->bursting) || (this->Instance->SilentULine(_new->server))); + if (send) this->Instance->SNO->WriteToSnoMask('C',"Client connecting at %s: %s!%s@%s [%s]",_new->server,_new->nick,_new->ident,_new->host, _new->GetIPString()); |