Enable Log reloading (#8612)

This commit is contained in:
Singe Horizontal
2024-09-10 22:19:47 +02:00
committed by GitHub
parent baf7ec23d8
commit 5452ae4038
2 changed files with 5 additions and 0 deletions

View File

@@ -4330,6 +4330,9 @@ ACMD_FUNC(reload) {
}else if( strstr( command, "barterdb" ) || strncmp( message, "barterdb", 4 ) == 0 ){
barter_db.reload();
clif_displaymessage(fd, msg_txt(sd, 830)); // Barter database has been reloaded.
} else if (strstr(command, "logconf") || strncmp(message, "logconf", 3) == 0) {
log_config_read(LOG_CONF_NAME);
clif_displaymessage(fd, msg_txt(sd,1536)); // Log configuration has been reloaded.
}
return 0;