diff options
-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 { |