diff --git a/src/app/channel/activeChannel.js b/src/app/channel/activeChannel.js index daa5e49..a465b06 100644 --- a/src/app/channel/activeChannel.js +++ b/src/app/channel/activeChannel.js @@ -271,7 +271,7 @@ class activeChannel{ const activeList = leaving ? this.userAnnouncements.leave : this.userAnnouncements.join; //Randomly yoink the applicable message const msg = activeList[Math.floor(Math.random() * activeList.length)]; - + //Replace %UNAME% placeholder with users name and broadcast the welcome wagon this.server.chatHandler.relayChat(user, "", 0, msg.replace("%UNAME%", user), "serverwhisper", this.name, []); } }