diff options
Diffstat (limited to 'src/resv.c')
-rw-r--r-- | src/resv.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -34,6 +34,7 @@ #include "irc_string.h" #include "ircd_defs.h" #include "conf.h" +#include "conf_db.h" dlink_list resv_channel_list = { NULL, NULL, 0 }; @@ -72,6 +73,9 @@ create_channel_resv(char *name, char *reason, int in_conf) dlinkAdd(resv_p, &resv_p->node, &resv_channel_list); hash_add_resv(resv_p); + if (!in_conf) + save_resv_database(); + return conf; } @@ -105,6 +109,9 @@ create_nick_resv(char *name, char *reason, int in_conf) DupString(resv_p->reason, reason); resv_p->action = in_conf; + if (!in_conf) + save_resv_database(); + return conf; } |