1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 09:34:05 +08:00
This commit is contained in:
shylinux 2021-01-12 12:46:25 +08:00
parent 65f4a27dbb
commit 3c0f0b7890

View File

@ -18,6 +18,7 @@ import (
"os"
"path"
"strings"
"time"
)
func _ssh_tick(m *ice.Message, pw io.Writer) {
@ -27,7 +28,7 @@ func _ssh_tick(m *ice.Message, pw io.Writer) {
m.Go(func() {
for {
m.Sleep(m.Option("tick"))
pw.Write([]byte("# " + m.Time() + "\n"))
pw.Write([]byte("# " + time.Now().Format(ice.MOD_TIME) + "\n"))
}
})
}