'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
This commit is contained in:
brain 2006-09-04 23:39:26 +00:00
parent 88e7c2cb0f
commit cc463cdd98

View File

@ -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;
}