From af8f91b04c87f491802d3bf0a2795dda7d270e4e Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 1 Apr 2024 20:36:50 +0200 Subject: Use 'SERVER_HOSTNAME' from config.h --- FICS/fics_addplayer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FICS') diff --git a/FICS/fics_addplayer.c b/FICS/fics_addplayer.c index e70eaec..6b92f1a 100644 --- a/FICS/fics_addplayer.c +++ b/FICS/fics_addplayer.c @@ -33,6 +33,7 @@ #include #include "command.h" +#include "config.h" #include "fics_getsalt.h" #include "playerdb.h" #include "utils.h" @@ -154,7 +155,7 @@ main(int argc, char *argv[]) "and enter your handle name and password.\n\n" "Regards,\n\nThe FICS admins\n", funame, fname, email, password, - fics_hostname); + SERVER_HOSTNAME); mail_string_to_address(email, "FICS Account Created", text); return 0; -- cgit v1.2.3