mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-26 02:01:33 -05:00
Fix /forcerename
It now correctly shows forcerename reason. I also took the opportunity to update the forcerename text.
This commit is contained in:
@@ -1148,7 +1148,7 @@ var commands = exports.commands = {
|
||||
this.privateModCommand("(" + entry + ")");
|
||||
Rooms.global.cancelSearch(targetUser);
|
||||
targetUser.resetName();
|
||||
targetUser.send("|nametaken||" + user.name + " has forced you to change your name. " + target);
|
||||
targetUser.send("|nametaken||" + user.name + " considers your name inappropriate" + (reason ? ": " + reason : "."));
|
||||
},
|
||||
|
||||
modlog: function (target, room, user, connection) {
|
||||
|
||||
Reference in New Issue
Block a user