mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Send link message to snomask +d only. Fixes bug #527, reported by DjMadness
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9775 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
e30a2f1952
commit
eafe98e150
@ -1588,7 +1588,7 @@ int TreeSocket::OnIncomingConnection(int newsock, char* ip)
|
|||||||
|
|
||||||
if (!found)
|
if (!found)
|
||||||
{
|
{
|
||||||
Utils->Creator->RemoteMessage(NULL,"Server connection from %s denied (no link blocks with that IP address)", ip);
|
this->Instance->SNO->WriteToSnoMask('d',"Server connection from %s denied (no link blocks with that IP address", ip);
|
||||||
close(newsock);
|
close(newsock);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user