diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-18 00:32:11 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-18 00:32:11 +0000 |
commit | 00d3b7007ed26840ebb673802d90dcb9427fe377 (patch) | |
tree | 8e5262765b2231af95c6701065f5e651a57b6fda /src/modules/m_spanningtree | |
parent | e988ac11a2fb6f8db35f2e645e519678135c1587 (diff) |
Don't send out UID for users that are quitting, because the QUIT won't be sent and they become a ghost
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11313 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/protocolinterface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/protocolinterface.cpp b/src/modules/m_spanningtree/protocolinterface.cpp index cfc9bbea7..748666259 100644 --- a/src/modules/m_spanningtree/protocolinterface.cpp +++ b/src/modules/m_spanningtree/protocolinterface.cpp @@ -179,6 +179,8 @@ void SpanningTreeProtocolInterface::SendUserNotice(User* target, const std::stri void SpanningTreeProtocolInterface::Introduce(User* user) { + if (user->quitting) + return; if (IS_LOCAL(user)) { std::deque<std::string> params; |