ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/resv.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/resv.c (file contents):
Revision 1621 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 1622 by michael, Thu Nov 1 13:16:37 2012 UTC

# Line 34 | Line 34
34   #include "irc_string.h"
35   #include "ircd_defs.h"
36   #include "conf.h"
37 + #include "conf_db.h"
38  
39   dlink_list resv_channel_list = { NULL, NULL, 0 };
40  
# Line 72 | Line 73 | create_channel_resv(char *name, char *re
73    dlinkAdd(resv_p, &resv_p->node, &resv_channel_list);
74    hash_add_resv(resv_p);
75  
76 +  if (!in_conf)
77 +    save_resv_database();
78 +
79    return conf;
80   }
81  
# Line 105 | Line 109 | create_nick_resv(char *name, char *reaso
109    DupString(resv_p->reason, reason);
110    resv_p->action = in_conf;
111  
112 +  if (!in_conf)
113 +    save_resv_database();
114 +
115    return conf;
116   }
117  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)