Clean up code and fix linter errors

This commit is contained in:
Daniel
2020-10-30 13:33:29 +01:00
parent fa3f873c31
commit 7b72d9fe4b
8 changed files with 23 additions and 37 deletions

View File

@@ -58,7 +58,7 @@ func prompt(ctx context.Context, conn *network.Connection, pkt packet.Packet) {
}
case <-time.After(1 * time.Second):
log.Tracer(ctx).Debugf("filter: continueing prompting async")
log.Tracer(ctx).Debugf("filter: continuing prompting async")
conn.Deny("prompting in progress", profile.CfgOptionDefaultActionKey)
case <-ctx.Done():