Merge pull request #435 from ennorehling/develop

bugfix dupe message
This commit is contained in:
Enno Rehling 2015-12-12 21:38:15 +01:00
commit 60ea74ce50
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ function autoseed.init()
end end
local dupe = get_faction_by_email(p.email) local dupe = get_faction_by_email(p.email)
if dupe then if dupe then
eressea.log.warning("seed: duplicate email " .. p.email .. " already used by faction " .. tostring(f)) eressea.log.warning("seed: duplicate email " .. p.email .. " already used by faction " .. tostring(dupe))
else else
local f = seed(start, p.email, p.race or "human", p.lang or "de") local f = seed(start, p.email, p.race or "human", p.lang or "de")
num_seeded = num_seeded + 1 num_seeded = num_seeded + 1