Skip to content

Commit

Permalink
Update handlers_cafe.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sekaiwish authored Jan 14, 2025
1 parent 4eed6a9 commit b3305d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/channelserver/handlers_cafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func handleMsgMhfReceiveCafeDurationBonus(s *Session, p mhfpacket.MHFPacket) {
FROM characters ch
WHERE ch.id = $1
) >= time_req`, s.charID, TimeAdjusted().Unix()-s.sessionStart)
if err != nil {
if err != nil || !mhfcourse.CourseExists(30, s.courses) {
doAckBufSucceed(s, pkt.AckHandle, bf.Data())
} else {
for rows.Next() {
Expand Down

0 comments on commit b3305d1

Please sign in to comment.