From: terencehill Date: Sat, 13 Feb 2021 15:36:02 +0000 (+0100) Subject: Fix 'cmd records' description, part 2: don't specify number or records per page as... X-Git-Tag: xonotic-v0.8.5~560^2~1 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=a5ef2371753424435c21d8e3f2ca445e9dcd6117 Fix 'cmd records' description, part 2: don't specify number or records per page as it varies from 0 to 200, not 50 as a comment says --- diff --git a/qcsrc/server/command/common.qc b/qcsrc/server/command/common.qc index 181a920b3..8d320437a 100644 --- a/qcsrc/server/command/common.qc +++ b/qcsrc/server/command/common.qc @@ -599,8 +599,8 @@ void CommonCommand_records(int request, entity caller) case CMD_REQUEST_USAGE: { print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " records []")); - print_to(caller, " Without arguments it prints all records for the current gametype,"); - print_to(caller, " otherwise it only prints page (50 records per page),"); + print_to(caller, " Without arguments it prints all records (all pages) for the current gametype,"); + print_to(caller, " otherwise if there are multiple pages it only prints page (1..10),"); return; } } diff --git a/qcsrc/server/command/getreplies.qc b/qcsrc/server/command/getreplies.qc index 1001bb7d7..913bb696d 100644 --- a/qcsrc/server/command/getreplies.qc +++ b/qcsrc/server/command/getreplies.qc @@ -32,7 +32,7 @@ // See common.qc for their proper commands -string getrecords(int page) // 50 records per page +string getrecords(int page) { string s = "";