diff options
-rw-r--r-- | webchat/serverCommands.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webchat/serverCommands.js b/webchat/serverCommands.js index 05c9ea0e..8f2875b9 100644 --- a/webchat/serverCommands.js +++ b/webchat/serverCommands.js @@ -12,7 +12,7 @@ serverCommands.say = function (settings, params) { } serverCommands.nick = function (settings, params) { - var oldnick = settings.nick || settings.conn.remoteAddress + var oldnick = settings.nick var newnick = params.nick settings.nick = newnick return clients.notifyAll('nickchange', { nick: oldnick, newnick: newnick }); |