diff options
| author | sD <stoned@derpymail.org> | 2020-04-02 11:49:45 +0200 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-04-02 11:49:45 +0200 |
| commit | 9211eca4316ab10c8064678288228d7541542532 (patch) | |
| tree | 2cf343c64edcdb6ca4c68a3773e6821e8511e212 | |
| parent | 9ef7df122e4174bbfbaf391f77ae1f652822a97b (diff) | |
name not showname and log it when it happens
| -rw-r--r-- | webAO/client.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js index 65e3798..2612bfc 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -525,12 +525,13 @@ class Client extends EventEmitter { msg_blips = this.chars[char_id].gender; char_muted = this.chars[char_id].muted; - if(this.chars[char_id].showname !== char_name) { - // someone is iniediting + if(this.chars[char_id].name !== char_name) { + console.info(this.chars[char_id].name + " is iniediting to " + char_name); this.handleCharacterInfo(char_name,char_id); } } catch (e) { //we already set defaults + console.error("we're still missing some character data"); } if (char_muted === false) { |
