Commit a5443528 authored by mercury233's avatar mercury233

update log

parent 8e8b76f9
...@@ -848,7 +848,7 @@ ygopro.ctos_follow 'PLAYER_INFO', true, (buffer, info, client, server)-> ...@@ -848,7 +848,7 @@ ygopro.ctos_follow 'PLAYER_INFO', true, (buffer, info, client, server)->
if lang=settings.modules.i18n.map[geo.country] if lang=settings.modules.i18n.map[geo.country]
client.lang=lang client.lang=lang
else else
log.info("Not in map", geo.country, client.name, client.ip) #log.info("Not in map", geo.country, client.name, client.ip)
client.lang=settings.modules.i18n.fallback client.lang=settings.modules.i18n.fallback
return false return false
......
...@@ -1070,7 +1070,6 @@ ...@@ -1070,7 +1070,6 @@
if (lang = settings.modules.i18n.map[geo.country]) { if (lang = settings.modules.i18n.map[geo.country]) {
client.lang = lang; client.lang = lang;
} else { } else {
log.info("Not in map", geo.country, client.name, client.ip);
client.lang = settings.modules.i18n.fallback; client.lang = settings.modules.i18n.fallback;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment