AmendHub

Download:

jcs

/

subtext

/

amendments

/

168

telnet: Remove double log message


jcs made amendment 168 over 2 years ago
--- telnet.c Thu Jun 23 09:07:15 2022 +++ telnet.c Thu Jun 23 10:05:22 2022 @@ -772,9 +772,6 @@ telnet_close(struct session *session) if (node->from_trusted_proxy) session->ban_node_source = false; - session_log(session, "%s telnet connection from %s", - (session->ban_node_source ? "Banning" : "Closing"), node->ip_s); - if (session->ban_node_source && !node->from_trusted_proxy) { session_log(session, "Closing telnet connection from %s and " "banning IP", node->ip_s);