diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-10 20:02:34 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-10 20:02:34 +0100 |
commit | 95fb60febef9221ded1ffd2855ad204c4827a392 (patch) | |
tree | 0c37636414bf5a546f3dca4216969097f846a620 /FICS/ficsmain.c | |
parent | e885df80886349aed783e7dfa2494ddd1af24297 (diff) |
Deleted code
Diffstat (limited to 'FICS/ficsmain.c')
-rw-r--r-- | FICS/ficsmain.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/FICS/ficsmain.c b/FICS/ficsmain.c index f58781e..3dda729 100644 --- a/FICS/ficsmain.c +++ b/FICS/ficsmain.c @@ -135,35 +135,14 @@ PUBLIC int main(int argc, char *argv[]) exit(1); } startuptime = time(0); -/* Using the value defined in config.h now instead of the real hostname. - This is used as the return address in email, so it needs to be a real - DNS resolvable hostname! Sparky */ -/* gethostname(fics_hostname, 80); */ strcpy ( fics_hostname, SERVER_HOSTNAME ); quota_time = 60; player_high = 0; game_high = 0; srand(startuptime); fprintf(stderr, "FICS: Initialized on port %d at %s.\n", port, strltime(&startuptime)); -/* iamserver = 0; */ -/* if (hostinfo_init()) { - MailGameResult = 0; - fprintf(stderr, "FICS: No ratings server connection.\n"); - } else { - if (iamserver) { - fprintf(stderr, "FICS: I don't know how to be a ratings server, refusing.\n"); - MailGameResult = 0; - } else { - fprintf(stderr, "FICS: Ratings server set to: %s\n", hArray[0].email_address); - MailGameResult = 1; - } - } */ -/* if (mail_log_file) - fclose(mail_log_file); */ fprintf(stderr, "FICS: commands_init()\n"); commands_init(); -/* fprintf(stderr, "FICS: channel_init()\n"); - channel_init(); */ fprintf(stderr, "FICS: rating_init()\n"); rating_init(); fprintf(stderr, "FICS: wild_init()\n"); |