From 57946a918adf1163aa0231837a54bdd97660251e Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Wed, 22 Jul 2015 22:32:16 -0400 Subject: [PATCH] New command /debug extractteams I'm considering adding more commands like these to debug client issues. --- js/client-chat.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/js/client-chat.js b/js/client-chat.js index 83706fa56..e01e4b8c4 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -516,6 +516,15 @@ openUser(target); return false; + case 'debug': + if (target === 'extractteams') { + app.addPopup(Popup, { + type: 'modal', + htmlMessage: "Extracted team data:
" + }); + } + return false; + case 'autojoin': case 'cmd': case 'query':