summaryrefslogtreecommitdiff
path: root/client/commands.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/commands.js')
-rw-r--r--client/commands.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/commands.js b/client/commands.js
index 89a7ee8..1ec0069 100644
--- a/client/commands.js
+++ b/client/commands.js
@@ -67,7 +67,7 @@ commands = {
let oldUserName = userName;
userName = argument;
localStorage.setItem("username", userName);
- systemMessage(sl("commands/nick/other", [["%2", oldUserName], ["%1", argument]]), l("commands/nick/self").replace("%1", argument));
+ systemMessage(sl("commands/nick/other", [["%2", argument], ["%1", oldUserName]]), l("commands/nick/self").replace("%1", argument));
},
"lang": (argument, _) => {
if (require('fs').existsSync("../shared/lang/" + argument.trim().replaceAll("/", "-") + ".json")) {