diff options
author | lassulus <lassulus@googlemail.com> | 2013-11-11 18:28:52 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-11-11 18:28:52 +0100 |
commit | 27f21424befaf1d10877d53d9754c88b43f42903 (patch) | |
tree | 410d8ff61179c9a823f04e6e7b4ab4e4aa2f0ff0 | |
parent | 2197882bc5a131ed7c877505ac66cbfa02679273 (diff) |
webchat: removed unneccesessary check
-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 }); |