aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-20 01:04:50 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-20 01:04:50 +0100
commit514d0e7d14e6f4e6648ef30f40ff8d6b306d1301 (patch)
tree5c1e24f6a02715f527d9d12979834b8554cc6c56 /FICS
parentde602f9e6dd8be388c58c3f70eaa9c1a0b3b0303 (diff)
Deleted disabled code
Diffstat (limited to 'FICS')
-rw-r--r--FICS/adminproc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/FICS/adminproc.c b/FICS/adminproc.c
index b988d93..464a6a9 100644
--- a/FICS/adminproc.c
+++ b/FICS/adminproc.c
@@ -934,21 +934,12 @@ PUBLIC int com_addplayer(int p, param_list param)
parray[p1].passwd = xstrdup(password);
}
parray[p1].registered = 1;
-/* parray[p1].network_player = 0; */
parray[p1].rated = 1;
player_add_comment(p, p1, "Player added by addplayer.");
player_save(p1);
player_remove(p1);
pprintf(p, "Added: >%s< >%s< >%s< >%s<\n", newplayer, newname, newemail, password);
if (strcmp(newemail, "none")) {
-/*
- sprintf(text, "\nYou have been added as a local player.\n\nLogin Name: "
- "%s\nFull Name: %s\nEmail Address: %s\nInitial Password: "
- "%s\n\nIf any of this information is incorrect, please "
- "contact the administrator\nto get it corrected.\n\n"
- "Please write down your password.\n\nRegards,\n\nThe FICS admins\n",
- newplayer, newname, newemail, password);
-*/
sprintf(text, "\nYour player account has been created.\n\n"
"Login Name: %s\nFull Name: %s\nEmail Address: %s\nInitial Password: %s\n\n"
@@ -1389,10 +1380,6 @@ PRIVATE void SetRating(int p1, param_list param, statistics *s)
s->num = s->win + s->los + s->dra;
if (s->num == 0) {
s->ltime = 0L;
-#if 0
- s->dra = 1;
- s->num = 1;
-#endif
} else {
s->ltime = time(0);
}