1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-27 01:48:27 +08:00
This commit is contained in:
shylinux 2023-02-19 09:58:44 +08:00
parent c936ec4401
commit 9207059fce

View File

@ -78,7 +78,7 @@ func _serve_handle(key string, cmd *ice.Command, m *ice.Message, w http.Response
case "share":
add(arg[0], arg[1])
case "chat":
for i := 1; i < len(arg); i += 2 {
for i := 1; i < len(arg)-1; i += 2 {
add(arg[i], arg[i+1])
}
}