diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 17:23:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 17:23:02 +0000 |
commit | da41e3c11a2c1f1686414740af936e77a101663f (patch) | |
tree | d02b23fedbb87b54e71d83348fbfcabe4ea88688 /src/modules/m_spanningtree.cpp | |
parent | 31fdbf70b7bd549cbc5ca92c799de68068d0898d (diff) |
Added uline check for PUSH
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3154 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
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 { |