diff --git a/play.pokemonshowdown.com/js/client-chat.js b/play.pokemonshowdown.com/js/client-chat.js index aede8d7f1a..c64cc78bc4 100644 --- a/play.pokemonshowdown.com/js/client-chat.js +++ b/play.pokemonshowdown.com/js/client-chat.js @@ -378,7 +378,7 @@ self.handleTabComplete($textbox, reverse); } }); - app.send('/crq cmdsearch ' + text); + this.send('/crq cmdsearch ' + text); return true; } else if (!isCommandSearch) { delete this.tabComplete.isCommand;