aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2021-09-12 15:01:57 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2021-09-12 15:01:57 +0200
commitc609ac8358dc4a5a5d247802b60f043982da20ee (patch)
tree84b916bc40908b055b432600f13b82b0c0e57342
parent5f1486a4d49752768da953b3ac9482920b16d451 (diff)
Fix telnet command logging
-rw-r--r--chat.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/chat.go b/chat.go
index d641c81..dd8679a 100644
--- a/chat.go
+++ b/chat.go
@@ -77,16 +77,6 @@ func onTelnetMsg(tlog func(dir string, v ...interface{}), w io.Writer, msg strin
args = substrs[1:]
}
- v := make([]interface{}, 2+len(args))
- v[0] = "command"
- v[1] = cmdName
-
- for i, arg := range args {
- v[i+2] = arg
- }
-
- tlog("-->", v...)
-
if !ChatCmdExists(cmdName) {
tlog("<--", "unknown command", cmdName)
return "Command not found.\n"