Changeset 185 for binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Telnet/TelnetConnection.cs
- Timestamp:
- Sep 9, 2014, 9:59:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Telnet/TelnetConnection.cs
r184 r185 40 40 if (endpoint is IPEndPoint) { 41 41 endpointAddressHash = ((IPEndPoint)endpoint).Address.GetHashCode(); 42 Log.Out ("Hash: " + endpointAddressHash);42 //Log.Out ("Hash: " + endpointAddressHash); 43 43 } else { 44 44 Log.Out ("EndPoint is not an IPEndPoint but: " + endpoint.GetType().ToString()); … … 97 97 } else { 98 98 WriteLine ("Too many failed login attempts!"); 99 Log.Out ("Telnet connection closed for too many login attempts: " + endpoint);99 Thread.Sleep(100); 100 100 //TODO: owner.FailedLogins(); 101 101 Close (); 102 Log.Out ("Telnet connection closed for too many login attempts: " + endpoint); 102 103 break; 103 104 }
Note:
See TracChangeset
for help on using the changeset viewer.