@@ -42,7 +42,7 @@ function onHour(hour)
return
end
local mozhuData = MoZhuDB.getMoZhu()
- if not next(mozhuData) or Util.isSameDay(mozhuData.time) then
+ if not next(mozhuData) or not Util.isSameDay(mozhuData.time) then
MoZhuDB.initMoZhu()
mozhuData = MoZhuDB.getMoZhu()