diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/client.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/client.js b/client/client.js index f55c388..06bfc1b 100644 --- a/client/client.js +++ b/client/client.js @@ -322,10 +322,10 @@ function pushMessage(args) { ) { messageEl.classList.add('refmessage'); notify(args); - } else { - messageEl.classList.add('message'); } + messageEl.classList.add('message'); + if (verifyNickname(myNick) && args.nick == myNick) { messageEl.classList.add('me'); } else if (args.nick == '!') { |