aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/gamedb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index a0bd07d..4de910e 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -69,6 +69,7 @@
#include "network.h"
#include "playerdb.h"
#include "rmalloc.h"
+#include "settings.h"
#include "utils.h"
#if __linux__
@@ -571,8 +572,8 @@ PUBLIC char *
movesToString(int g, int pgn)
{
char tmp[160] = { '\0' };
- char *serv_loc = SERVER_LOCATION;
- char *serv_name = SERVER_NAME;
+ const char *serv_loc = settings_get("server_location");
+ const char *serv_name = settings_get("server_name");
int i, col;
int wr, br;
struct tm v_tm = {0};