From cc463cdd983e429abee0f9221801402372853f61 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 4 Sep 2006 23:39:26 +0000 Subject: 'Connection to %s closed' now says 'Connection to %s failed' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5143 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 7ac65dbc3..e1895f4b2 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -3250,7 +3250,7 @@ class TreeSocket : public InspSocket { Squit(s,"Remote host closed the connection"); } - this->Instance->WriteOpers("Server '\2%s\2' closed the connection.",quitserver.c_str()); + this->Instance->SNO->WriteToSnoMask('l',"Connection to '\2%s\2' failed.",quitserver.c_str()); } virtual int OnIncomingConnection(int newsock, char* ip) @@ -3270,7 +3270,7 @@ class TreeSocket : public InspSocket if (!found) { - this->Instance->WriteOpers("Server connection from %s denied (no link blocks with that IP address)", ip); + this->Instance->SNO->WriteToSnoMask('l',"Server connection from %s denied (no link blocks with that IP address)", ip); close(newsock); return false; } -- cgit v1.2.3