From 20c09dc1fcb3868ffc922e1232820dfd4c26f2c9 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 25 Feb 2013 13:53:22 +0100 Subject: [PATCH] Reduce number of lines in who command to 8 With 9 lines a 9-round tourney would make the ICS's qtell buffers overflow. --- lasker-2.2.3/bots/mamer/CommandEntry.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lasker-2.2.3/bots/mamer/CommandEntry.cc b/lasker-2.2.3/bots/mamer/CommandEntry.cc index 4312023..345fcb3 100644 --- a/lasker-2.2.3/bots/mamer/CommandEntry.cc +++ b/lasker-2.2.3/bots/mamer/CommandEntry.cc @@ -973,7 +973,7 @@ int CommandEntry::ListTourneyPlayers(User *user, param_list params) { } gMamer.XServerCom("%c%-0.2d%c ", result, p->value, color); } - if(((i % 9) == 0) && (i > 0)) { + if(((i % 8) == 0) && (i > 0)) { gMamer.XServerCom("%s %s %s %s", "\n", "qtell", user->name, "\\n"); } else { gMamer.XServerCom("%s", "\\n"); -- 1.7.0.4