Commit 0c56d952 authored by nanahira's avatar nanahira

no recorder id allowed

parent a26b7341
......@@ -1386,6 +1386,8 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)->
return
else if settings.modules.stop
ygopro.stoc_die(client, settings.modules.stop)
else if info.pass == "Marshtomp" or info.pass == "the Big Brother"
ygopro.stoc_die(client, "${bad_user_name}")
else if info.pass.toUpperCase()=="R" and settings.modules.cloud_replay.enabled
ygopro.stoc_send_chat(client,"${cloud_replay_hint}", ygopro.constants.COLORS.BABYBLUE)
......
......@@ -1746,6 +1746,8 @@
return;
} else if (settings.modules.stop) {
ygopro.stoc_die(client, settings.modules.stop);
} else if (info.pass === "Marshtomp" || info.pass === "the Big Brother") {
ygopro.stoc_die(client, "${bad_user_name}");
} else if (info.pass.toUpperCase() === "R" && settings.modules.cloud_replay.enabled) {
ygopro.stoc_send_chat(client, "${cloud_replay_hint}", ygopro.constants.COLORS.BABYBLUE);
redisdb.lrange(client.ip + ":replays", 0, 2, function(err, result) {
......
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