Commit 0a22a374e514d88f7000fd6b747e7beee289874c

Authored by zhouhaihai
2 parents 9587d70a 0d892cdf

Merge branch 'tr/bugfix' into tr/publish/release

* tr/bugfix:
  发送邮件清标记

# Conflicts:
#	src/csvdata
Showing 1 changed file with 1 additions and 0 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