mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Fix /forcerename
This commit is contained in:
parent
7447130127
commit
f873e0d42a
|
|
@ -1527,7 +1527,7 @@ export const commands: ChatCommands = {
|
|||
return this.errorReply(`User '${target}' not found.`);
|
||||
}
|
||||
this.checkCan('forcerename', targetID);
|
||||
const {publicReason, privateReason} = this.parseSpoiler(target);
|
||||
const {publicReason, privateReason} = this.parseSpoiler(reason);
|
||||
|
||||
Monitor.forceRenames.set(targetUser.id, (Monitor.forceRenames.get(targetUser.id) || 0) + 1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user