mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Moderation: Fix /offlineforcerename modlogging
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
This commit is contained in:
parent
c0c337ec45
commit
f01268f26c
|
|
@ -1841,7 +1841,7 @@ export const commands: Chat.ChatCommands = {
|
|||
targetUser.send(`|nametaken||${user.name} considers your name inappropriate${(publicReason ? `: ${publicReason}` : ``)}`);
|
||||
} else {
|
||||
forceRenameMessage = `was forced to choose a new name by ${user.name} while offline${(publicReason ? `: ${publicReason}` : ``)}`;
|
||||
this.globalModlog('FORCERENAME OFFLINE', targetUser, privateReason);
|
||||
this.globalModlog('FORCERENAME OFFLINE', targetID, privateReason);
|
||||
}
|
||||
Monitor.forceRenames.set(targetID, false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user