| 6 |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
|
#ifdef HAVE_CONFIG_H |
| 10 |
|
#include "config.h" |
| 11 |
|
#endif |
| 12 |
|
|
| 13 |
#include "bbs.h" |
#include "bbs.h" |
| 14 |
#include "bbs_main.h" |
#include "bbs_main.h" |
| 15 |
|
#include "bwf.h" |
| 16 |
#include "common.h" |
#include "common.h" |
| 17 |
#include "database.h" |
#include "database.h" |
| 18 |
#include "file_loader.h" |
#include "file_loader.h" |
| 658 |
log_error("Reload conf failed\n"); |
log_error("Reload conf failed\n"); |
| 659 |
} |
} |
| 660 |
|
|
| 661 |
|
// Reload BWF config |
| 662 |
|
if (bwf_load(CONF_BWF) < 0) |
| 663 |
|
{ |
| 664 |
|
log_error("Reload BWF conf failed\n"); |
| 665 |
|
} |
| 666 |
|
|
| 667 |
if (load_menu(&bbs_menu_new, CONF_MENU) < 0) |
if (load_menu(&bbs_menu_new, CONF_MENU) < 0) |
| 668 |
{ |
{ |
| 669 |
unload_menu(&bbs_menu_new); |
unload_menu(&bbs_menu_new); |