From 688b566daffb0a345ab1a3c69c9c5594bf7d32d1 Mon Sep 17 00:00:00 2001 From: The Immortal Date: Thu, 24 Sep 2015 16:09:30 +0400 Subject: [PATCH] Hide group chats from /tours --- tournaments/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournaments/index.js b/tournaments/index.js index 3e7ba2a9eb..d40ed45544 100644 --- a/tournaments/index.js +++ b/tournaments/index.js @@ -903,7 +903,7 @@ CommandParser.commands.tournament = function (paramString, room, user) { if (!this.canBroadcast()) return; this.sendReply('|tournaments|info|' + JSON.stringify(Object.keys(exports.tournaments).filter(function (tournament) { tournament = exports.tournaments[tournament]; - return !tournament.room.isPrivate && !tournament.room.staffRoom; + return !tournament.room.isPrivate && !tournament.room.isPersonal && !tournament.room.staffRoom; }).map(function (tournament) { tournament = exports.tournaments[tournament]; return {room: tournament.room.title, format: tournament.format, generator: tournament.generator.name, isStarted: tournament.isTournamentStarted};