|
@@ -12,7 +12,6 @@
|
|
#include "../common/cbasetypes.hpp"
|
|
#include "../common/cbasetypes.hpp"
|
|
#include "../common/database.hpp"
|
|
#include "../common/database.hpp"
|
|
#include "../common/cli.hpp"
|
|
#include "../common/cli.hpp"
|
|
-#include "../common/conf.hpp"
|
|
|
|
#include "../common/malloc.hpp"
|
|
#include "../common/malloc.hpp"
|
|
#include "../common/mmo.hpp"
|
|
#include "../common/mmo.hpp"
|
|
#include "../common/nullpo.hpp"
|
|
#include "../common/nullpo.hpp"
|
|
@@ -4142,15 +4141,6 @@ ACMD_FUNC(reload) {
|
|
hom_reload_skill();
|
|
hom_reload_skill();
|
|
clif_displaymessage(fd, msg_txt(sd,99)); // Skill database has been reloaded.
|
|
clif_displaymessage(fd, msg_txt(sd,99)); // Skill database has been reloaded.
|
|
} else if (strstr(command, "atcommand") || strncmp(message, "atcommand", 4) == 0) {
|
|
} else if (strstr(command, "atcommand") || strncmp(message, "atcommand", 4) == 0) {
|
|
- config_t run_test;
|
|
|
|
-
|
|
|
|
- if (conf_read_file(&run_test, "conf/groups.conf")) {
|
|
|
|
- clif_displaymessage(fd, msg_txt(sd,1036)); // Error reading groups.conf, reload failed.
|
|
|
|
- return -1;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- config_destroy(&run_test);
|
|
|
|
-
|
|
|
|
atcommand_doload();
|
|
atcommand_doload();
|
|
pc_groups_reload();
|
|
pc_groups_reload();
|
|
clif_displaymessage(fd, msg_txt(sd,254)); // GM command configuration has been reloaded.
|
|
clif_displaymessage(fd, msg_txt(sd,254)); // GM command configuration has been reloaded.
|