| 59 |
|
#include "motd.h" |
| 60 |
|
#include "supported.h" |
| 61 |
|
#include "watch.h" |
| 62 |
< |
|
| 62 |
> |
#include "conf_db.h" |
| 63 |
|
|
| 64 |
|
/* /quote set variables */ |
| 65 |
|
struct SetOptions GlobalSetOptions; |
| 506 |
|
ConfigFileEntry.klinefile = KPATH; /* Server kline file */ |
| 507 |
|
ConfigFileEntry.xlinefile = XPATH; /* Server xline file */ |
| 508 |
|
ConfigFileEntry.dlinefile = DLPATH; /* dline file */ |
| 509 |
< |
ConfigFileEntry.cresvfile = CRESVPATH; /* channel resv file */ |
| 510 |
< |
ConfigFileEntry.nresvfile = NRESVPATH; /* nick resv file */ |
| 509 |
> |
// ConfigFileEntry.cresvfile = CRESVPATH; /* channel resv file */ |
| 510 |
> |
// ConfigFileEntry.nresvfile = NRESVPATH; /* nick resv file */ |
| 511 |
|
myargv = argv; |
| 512 |
|
umask(077); /* better safe than sorry --SRB */ |
| 513 |
|
|
| 608 |
|
/* add ourselves to global_serv_list */ |
| 609 |
|
dlinkAdd(&me, make_dlink_node(), &global_serv_list); |
| 610 |
|
|
| 611 |
+ |
load_kline_database(); |
| 612 |
+ |
load_dline_database(); |
| 613 |
+ |
load_gline_database(); |
| 614 |
+ |
load_xline_database(); |
| 615 |
+ |
load_resv_database(); |
| 616 |
+ |
|
| 617 |
|
if (chdir(MODPATH)) |
| 618 |
|
{ |
| 619 |
|
ilog(LOG_TYPE_IRCD, "Could not load core modules. Terminating!"); |