From da41e3c11a2c1f1686414740af936e77a101663f Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Feb 2006 17:23:02 +0000 Subject: Added uline check for PUSH git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3154 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 0bea7f896..6b1cfb7d3 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1673,7 +1673,14 @@ class TreeSocket : public InspSocket if (IS_LOCAL(u)) { // push the raw to the user - ::Write(u->fd,"%s",params[1].c_str()); + if (Srv->IsUlined(prefix)) + { + ::Write(u->fd,"%s",params[1].c_str()); + } + else + { + log(DEBUG,"PUSH from non-ulined server dropped into the bit-bucket: %s %s %s",prefix.c_str(),params[0].c_str(),params[1].c_str()); + } } else { -- cgit v1.2.3