diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-07-26 02:27:07 +0200 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2019-07-26 02:27:07 +0200 |
| commit | 80df2bcc1f47c5ef4037c53268894ed90d163bfe (patch) | |
| tree | 1efb6f08bee7a96b93a564b3912d6c878d2063d8 /webAO | |
| parent | a5a3fd6ca414462b9af2efffb437abc1df35efe4 (diff) | |
kick was a different one
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index 69d8440..8aaf879 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -681,12 +681,22 @@ class Client extends EventEmitter { * Handles the kicked packet * @param {Array} args packet arguments */ - handleKB(args) { + handleKK(args) { document.getElementById("client_loadingtext").innerHTML = "Kicked: " + args[1]; } /** * Handles the banned packet + * this one is sent when you are kicked off the server + * @param {Array} args packet arguments + */ + handleKB(args) { + document.getElementById("client_loadingtext").innerHTML = "You got banned: " + args[1]; + } + + /** + * Handles the banned packet + * this one is sent when you try to reconnect but you're banned * @param {Array} args packet arguments */ handleBD(args) { |
