From 36ddc3aa112918b81ab542ff745ab6c14b879ef0 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 23 Jan 2006 22:53:16 +0000 Subject: Fixed another instance of IP being shown git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2877 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 108d15c4d..e694c4570 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -635,12 +635,12 @@ class TreeSocket : public InspSocket { if (this->LinkState == CONNECTING) { - Srv->SendOpers("*** Connection to "+myhost+"["+this->GetIP()+"] established."); /* we do not need to change state here. */ for (std::vector::iterator x = LinkBlocks.begin(); x < LinkBlocks.end(); x++) { if (x->Name == this->myhost) { + Srv->SendOpers("*** Connection to \2"+myhost+"\2["+(x->HiddenFromStats ? "" : this->GetIP())+"] established."); this->SendCapabilities(); if (x->EncryptionKey != "") { @@ -665,6 +665,7 @@ class TreeSocket : public InspSocket * If that happens the connection hangs here until it's closed. Unlikely * and rather harmless. */ + Srv->SendOpers("*** Connection to \2"+myhost+"\2 lost link tag(!)"); return true; } -- cgit v1.2.3