This commit is contained in:
2023-07-10 02:23:38 +08:00
parent 01b6451155
commit 66772cb659
6 changed files with 19 additions and 55 deletions

View File

@@ -139,7 +139,7 @@ func handleMessage(v Message) {
case "broadcast":
Hub.broadcast(rcmd[1], rcmd[2])
case "delay":
Hub.delay(rcmd, c)
Hub.Delay(rcmd)
case "timer":
for _, name := range rcmd[1:] {
Hub.timer([]string{"timer", name}, c) // append to timers