diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-05-19 19:19:00 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-05-19 19:19:00 +0200 |
commit | 940ce8bb8afee13b1f3fd433abcc6eb2491b1547 (patch) | |
tree | b3c3388eacc2488aa3efb92fb65f134d454a8a48 /FICS | |
parent | 253d2504d27246293956773a6359fa55612e7ae8 (diff) |
Style fixes
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/adminproc.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/FICS/adminproc.c b/FICS/adminproc.c index e1a567e..215f863 100644 --- a/FICS/adminproc.c +++ b/FICS/adminproc.c @@ -495,7 +495,7 @@ com_checkIP(int p, param_list param) ASSERT(parray[p].adminLevel >= ADMIN_ADMIN); - pprintf(p, "Matches the following player(s): \n\n"); + pprintf(p, "Matches the following player(s):\n\n"); for (p1 = 0; p1 < p_num; p1++) { if (!strcmpwild(dotQuad(parray[p1].thisHost), ipstr) && @@ -651,7 +651,7 @@ com_checkTIMESEAL(int p, param_list param) } PUBLIC int -com_checkGAME(int p,param_list param) +com_checkGAME(int p, param_list param) { char tmp[10 + 1 + 7]; // enough to store number // 'black: ' and '\0' @@ -683,12 +683,14 @@ com_checkGAME(int p,param_list param) for (g = 0; g < g_num; g++) { multicol_store(m, tmp); - if (!strcasecmp(garray[g].white_name,param[0].val.word)) { + if (!strcasecmp(garray[g].white_name, + param[0].val.word)) { sprintf(tmp, "White: %d", g); multicol_store(m, tmp); found = 1; } - if (!strcasecmp(garray[g].black_name,param[0].val.word)) { + if (!strcasecmp(garray[g].black_name, + param[0].val.word)) { sprintf(tmp, "Black: %d", g); multicol_store(m, tmp); found = 1; @@ -698,7 +700,7 @@ com_checkGAME(int p,param_list param) if (found) multicol_pprint(m, p, parray[p].d_width, 2); else - pprintf(p,"No matching games were found.\n"); + pprintf(p, "No matching games were found.\n"); multicol_end(m); return COM_OK; @@ -724,7 +726,7 @@ com_checkGAME(int p,param_list param) if (garray[g].black == p1) { sprintf(tmp, "Black: %d", g); - multicol_store(m,tmp); + multicol_store(m, tmp); found = 1; } } @@ -1596,7 +1598,7 @@ com_asetadmin(int p, param_list param) ASSERT(parray[p].adminLevel >= ADMIN_GOD); - if (!FindPlayer(p, param[0].val.word,&p1, &connected)) + if (!FindPlayer(p, param[0].val.word, &p1, &connected)) return COM_OK; if ((parray[p].adminLevel <= parray[p1].adminLevel) && |