projects
/
capablanca.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
42cafc1
)
Reduce number of lines in who command to 8
author
H.G. Muller
<h.g.muller@hccnet.nl>
Mon, 25 Feb 2013 12:53:22 +0000 (13:53 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Mon, 25 Feb 2013 12:53:22 +0000 (13:53 +0100)
With 9 lines a 9-round tourney would make the ICS's qtell buffers overflow.
lasker-2.2.3/bots/mamer/CommandEntry.cc
patch
|
blob
|
history
diff --git
a/lasker-2.2.3/bots/mamer/CommandEntry.cc
b/lasker-2.2.3/bots/mamer/CommandEntry.cc
index
4312023
..
345fcb3
100644
(file)
--- 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");