From 7977cd320bc84d2faa30f95a249f8a731bbb0c23 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Tue, 21 Oct 2014 03:13:45 -0400 Subject: [PATCH] Fix /forcerename It now correctly shows forcerename reason. I also took the opportunity to update the forcerename text. --- commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.js b/commands.js index c836ea3b7e..466cf566c1 100644 --- a/commands.js +++ b/commands.js @@ -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) {