Commit d34447d5625ea1ad87c56cbb976a0d9a172194b9
1 parent
03c47577
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
@@ -26,7 +26,7 @@ func StartHttpTicker() { | @@ -26,7 +26,7 @@ func StartHttpTicker() { | ||
26 | for range ticker.C { | 26 | for range ticker.C { |
27 | nowtime := int(time.Now().Unix()) | 27 | nowtime := int(time.Now().Unix()) |
28 | hour := time.Now().Hour() | 28 | hour := time.Now().Hour() |
29 | - if hour >= 6 && hour <= 10 { | 29 | + if hour >= 6 && hour <= 22 { |
30 | if nowtime-gLastChatTime >= 20*60 { | 30 | if nowtime-gLastChatTime >= 20*60 { |
31 | gLastChatTime = nowtime | 31 | gLastChatTime = nowtime |
32 | HandleRandWorldChat() | 32 | HandleRandWorldChat() |