diff --git a/js/client-chat.js b/js/client-chat.js index 68821d47a..0c2dd28b4 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -844,6 +844,11 @@ } return text; // Send the /join command through to the server. + case 'part': + case 'leave': + if (this.requestLeave && !this.requestLeave()) return false; + return text; + case 'avatar': var parts = target.split(','); var avatar = parseInt(parts[0], 10);