Enable Log reloading (#8612)
This commit is contained in:
parent
baf7ec23d8
commit
5452ae4038
@ -1823,5 +1823,7 @@
|
|||||||
1534: Usage: @stockall {<type>}
|
1534: Usage: @stockall {<type>}
|
||||||
1535: %d items are transferred (%d skipped)!
|
1535: %d items are transferred (%d skipped)!
|
||||||
|
|
||||||
|
1536: Log configuration has been reloaded.
|
||||||
|
|
||||||
//Custom translations
|
//Custom translations
|
||||||
import: conf/msg_conf/import/map_msg_eng_conf.txt
|
import: conf/msg_conf/import/map_msg_eng_conf.txt
|
||||||
|
|||||||
@ -4330,6 +4330,9 @@ ACMD_FUNC(reload) {
|
|||||||
}else if( strstr( command, "barterdb" ) || strncmp( message, "barterdb", 4 ) == 0 ){
|
}else if( strstr( command, "barterdb" ) || strncmp( message, "barterdb", 4 ) == 0 ){
|
||||||
barter_db.reload();
|
barter_db.reload();
|
||||||
clif_displaymessage(fd, msg_txt(sd, 830)); // Barter database has been reloaded.
|
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;
|
return 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user