git-svn-id: svn://47.119.165.148/zhub@147 e63fbceb-bcc3-4977-ac22-735b83d8d0f4
This commit is contained in:
lxy
2022-03-22 01:57:13 +00:00
parent 1c5d4afaa1
commit e9aa5cf615
2 changed files with 17 additions and 15 deletions

View File

@@ -118,7 +118,8 @@ func msgAccept(v Message) {
zsub.delay(rcmd, c)
case "timer":
for _, name := range rcmd[1:] {
zsub.timer([]string{"timer", name}, c)
zsub.timer([]string{"timer", name}, c) // append to timers
c.timers = append(c.timers, name) // append to conns
}
case "cmd":
if len(rcmd) == 1 {