summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-04 23:39:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-04 23:39:26 +0000
commitcc463cdd983e429abee0f9221801402372853f61 (patch)
treedd329b37a9c8ec9ad6b79c8759b5b7603dfb75ff /src/modules/m_spanningtree.cpp
parent88e7c2cb0fc2e91f647a52dc6e274b3e3205743b (diff)
'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
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files 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;
}