From 00d3b7007ed26840ebb673802d90dcb9427fe377 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 18 Apr 2009 00:32:11 +0000 Subject: 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 --- src/modules/m_spanningtree/protocolinterface.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/m_spanningtree') 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 params; -- cgit v1.2.3