Don't echo empty command results

master
HimbeerserverDE 2021-09-12 14:53:08 +02:00
parent 064e267de7
commit 5f1486a4d4
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ func handleTelnet(conn net.Conn) {
}
result := onTelnetMsg(tlog, &TelnetWriter{conn: conn}, s)
if result != "" {
if result != "\n" {
writeString(result)
}
}