Commit e0ea7af2328b7d0e16f6c7f63f365fde8d94d77e
Merge branch 'tr/bugfix' into tr/publish/preview
* tr/bugfix: 发送邮件清标记
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/models/RolePlugin.lua
... | ... | @@ -1470,6 +1470,7 @@ function RolePlugin.bind(Role) |
1470 | 1470 | return function (now, role) |
1471 | 1471 | if name == "email" and role.sendMailFlag then |
1472 | 1472 | last_breath = now + sec |
1473 | + role.sendMailFlag = false | |
1473 | 1474 | return true |
1474 | 1475 | end |
1475 | 1476 | if now >= last_breath then | ... | ... |