- Timestamp:
- Jul 26, 2014, 4:41:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/AllocsNetTelnetServer.cs
r103 r107 78 78 } 79 79 Log.Out ("Telnet executed \"" + line + "\" from: " + c.GetEndPoint ()); 80 console.md000f (line);80 ConsoleOutputSeparator.QueueTelnetCommand (line, c); 81 81 } 82 82 } … … 168 168 } 169 169 } 170 171 public static void WriteToClient (string line, AllocsTelnetConnection client) 172 { 173 if (line == null) { 174 return; 175 } 176 RemoveClosedConnections (); 177 foreach (AllocsTelnetConnection c in connections) { 178 if (c.IsAuthenticated () && (c == client)) 179 c.WriteLine (line); 180 } 181 } 170 182 }
Note:
See TracChangeset
for help on using the changeset viewer.