summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-04 20:06:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-04 20:06:38 +0000
commitec48546cd05136c61f85d669a3dc49a874935a89 (patch)
treedc5616f54b98cc62dee7a3677c14915bad3e0208 /src/modules/m_spanningtree.cpp
parent0e8f4663013537fc05fa58b4545b02eeaeee14a6 (diff)
More verbose error output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3837 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 4 insertions, 0 deletions
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()