Commit 58010692 authored by nanahira's avatar nanahira

col

parent 0519334f
......@@ -2670,7 +2670,7 @@ ygopro.ctos_follow 'CHAT', true, (buffer, info, client, server)->
CLIENT_send_vip_status(client)
else
word = cmd[2]
if word and client.name.length + word.length <= 18
if word and (client.name.length + word.length) <= 18
vip_info.players[client.name].password = word
client.vpass = word
setting_save(vip_info)
......
......@@ -3370,7 +3370,7 @@
CLIENT_send_vip_status(client);
} else {
word = cmd[2];
if (word && client.name.length + word.length <= 18) {
if (word && (client.name.length + word.length) <= 18) {
vip_info.players[client.name].password = word;
client.vpass = word;
setting_save(vip_info);
......
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