From 3f95fe8a05d34d5ac1614a26472e3afc7033dd16 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 7 May 2007 20:54:01 +0000 Subject: Correct the silentbursts logic git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6908 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket1.cpp | 6 ++---- 1 file 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::dequeAddGlobalClone(_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()); -- cgit v1.2.3