Commit 0d892cdf385443308ca2dc58a0bf42b5010de709
1 parent
052ae144
发送邮件清标记
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,6 +1470,7 @@ function RolePlugin.bind(Role) | ||
1470 | return function (now, role) | 1470 | return function (now, role) |
1471 | if name == "email" and role.sendMailFlag then | 1471 | if name == "email" and role.sendMailFlag then |
1472 | last_breath = now + sec | 1472 | last_breath = now + sec |
1473 | + role.sendMailFlag = false | ||
1473 | return true | 1474 | return true |
1474 | end | 1475 | end |
1475 | if now >= last_breath then | 1476 | if now >= last_breath then |