Commit 0d0e1f43 authored by nanahira's avatar nanahira

for compat

parent 0299ee89
......@@ -475,7 +475,7 @@ CLIENT_get_authorize_key = (client) ->
if settings.modules.mycard.enabled or settings.modules.tournament_mode.enabled or settings.modules.challonge.enabled or client.is_local
return client.name
else if !settings.modules.mycard.enabled and client.vpass
return client.vpass + ":" + client.name
return client.vpass + "$" + client.name
else
return client.ip + ":" + client.name
......
......@@ -606,7 +606,7 @@
if (settings.modules.mycard.enabled || settings.modules.tournament_mode.enabled || settings.modules.challonge.enabled || client.is_local) {
return client.name;
} else if (!settings.modules.mycard.enabled && client.vpass) {
return client.vpass + ":" + client.name;
return client.vpass + "$" + client.name;
} else {
return client.ip + ":" + client.name;
}
......
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