From ec48546cd05136c61f85d669a3dc49a874935a89 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 4 Apr 2006 20:06:38 +0000 Subject: More verbose error output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3837 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 296be5dd5..0005f0683 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -741,6 +741,10 @@ class TreeSocket : public InspSocket * dirty work is done in OnClose() (see below) * which is still called on error conditions too. */ + if (e == I_ERR_CONNECT) + { + Srv->SendOpers("*** Connection failed: Connection refused"); + } } virtual int OnDisconnect() -- cgit v1.2.3