repo: ngircd
action: commit
revision: 
path_from: 
revision_from: c79fa28a66110b5a5f938b283c7608e749473efc:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit c79fa28a66110b5a5f938b283c7608e749473efc
Author: Alexander Barton 
Date:   Mon Oct 4 23:09:04 2004 +0000

    Added some missing words: "address" :-)

diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index e5e59de7e9a6c8ebe275bdbae52feedb1b24eb3a..
index ..7aa2953703609833d15bf0f03a58a83928932a24 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -16,7 +16,7 @@

 #include "portab.h"

-static char UNUSED id[] = "$Id: conn.c,v 1.137 2004/05/30 16:25:51 alex Exp $";
+static char UNUSED id[] = "$Id: conn.c,v 1.138 2004/10/04 23:09:04 alex Exp $";

 #include "imp.h"
 #include 
@@ -964,9 +964,9 @@ New_Connection( INT Sock )
 	cnt = Count_Connections( new_addr );
 	if(( Conf_MaxConnectionsIP > 0 ) && ( cnt >= Conf_MaxConnectionsIP ))
 	{
-		/* Access denied, too many connections from this IP! */
-		Log( LOG_ERR, "Refused connection from %s: too may connections (%ld) from this IP!", inet_ntoa( new_addr.sin_addr ), cnt);
-		Simple_Message( new_sock, "ERROR :Connection refused, too many connections from your IP!" );
+		/* Access denied, too many connections from this IP address! */
+		Log( LOG_ERR, "Refused connection from %s: too may connections (%ld) from this IP address!", inet_ntoa( new_addr.sin_addr ), cnt);
+		Simple_Message( new_sock, "ERROR :Connection refused, too many connections from your IP address!" );
 		close( new_sock );
 		return;
 	}

-----END OF PAGE-----