Enable Log reloading (#8612)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user