mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
'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:
parent
88e7c2cb0f
commit
cc463cdd98
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user