196 |
|
DLINK_FOREACH_SAFE(ptr, ptr_next, conf->hub_list.head) |
197 |
|
{ |
198 |
|
MyFree(ptr->data); |
199 |
+ |
dlinkDelete(ptr, &conf->hub_list); |
200 |
|
free_dlink_node(ptr); |
201 |
|
} |
202 |
|
|
203 |
|
DLINK_FOREACH_SAFE(ptr, ptr_next, conf->leaf_list.head) |
204 |
|
{ |
205 |
|
MyFree(ptr->data); |
206 |
+ |
dlinkDelete(ptr, &conf->leaf_list); |
207 |
|
free_dlink_node(ptr); |
208 |
|
} |
209 |
|
|
211 |
|
{ |
212 |
|
struct exempt *exptr = ptr->data; |
213 |
|
|
214 |
+ |
dlinkDelete(ptr, &conf->exempt_list); |
215 |
|
MyFree(exptr->name); |
216 |
|
MyFree(exptr->user); |
217 |
|
MyFree(exptr->host); |
1032 |
|
{ |
1033 |
|
if (sig != 0) |
1034 |
|
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, |
1035 |
< |
"Got signal SIGHUP, reloading ircd.conf file"); |
1035 |
> |
"Got signal SIGHUP, reloading configuration file(s)"); |
1036 |
|
|
1037 |
|
restart_resolver(); |
1038 |
|
|
1371 |
|
char * |
1372 |
|
oper_privs_as_string(const unsigned int port) |
1373 |
|
{ |
1374 |
< |
static char privs_out[16]; |
1374 |
> |
static char privs_out[IRCD_BUFSIZE]; |
1375 |
|
char *privs_ptr = privs_out; |
1376 |
|
const struct oper_privs *opriv = flag_list; |
1377 |
|
|
1436 |
|
read_conf_files(int cold) |
1437 |
|
{ |
1438 |
|
const char *filename; |
1439 |
< |
char chanmodes[32]; |
1440 |
< |
char chanlimit[32]; |
1439 |
> |
char chanmodes[IRCD_BUFSIZE]; |
1440 |
> |
char chanlimit[IRCD_BUFSIZE]; |
1441 |
|
|
1442 |
|
conf_parser_ctx.boot = cold; |
1443 |
|
filename = ConfigFileEntry.configfile; |
1801 |
|
* break - no point in searching further. |
1802 |
|
*/ |
1803 |
|
if (++nonwild >= ConfigFileEntry.min_nonwildcard) |
1804 |
+ |
{ |
1805 |
+ |
va_end(args); |
1806 |
|
return 1; |
1807 |
+ |
} |
1808 |
|
} |
1809 |
|
} |
1810 |
|
} |
1812 |
|
if (warn) |
1813 |
|
sendto_one(source_p, ":%s NOTICE %s :Please include at least %d non-wildcard characters with the mask", |
1814 |
|
me.name, source_p->name, ConfigFileEntry.min_nonwildcard); |
1815 |
+ |
va_end(args); |
1816 |
|
return 0; |
1817 |
|
} |
1818 |
|
|