X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/b37021a45e15eef2e937aa11f185b48cf766d772..91e46e62e5f9faf6735e0c41ce21113939cacb85:/src/s_newconf.c diff --git a/src/s_newconf.c b/src/s_newconf.c index 865b8fb..c93b57e 100644 --- a/src/s_newconf.c +++ b/src/s_newconf.c @@ -331,6 +331,7 @@ static struct oper_flags oper_flagtable[] = { OPER_GLINE, 'G', 'g' }, { OPER_KLINE, 'K', 'k' }, { OPER_XLINE, 'X', 'x' }, + { OPER_RESV, 'Q', 'q' }, { OPER_GLOBKILL, 'O', 'o' }, { OPER_LOCKILL, 'C', 'c' }, { OPER_REMOTE, 'R', 'r' }, @@ -745,16 +746,11 @@ get_nd_count(void) return(dlink_list_length(&nd_list)); } -struct Dictionary *nd_dict = NULL; - void add_nd_entry(const char *name) { struct nd_entry *nd; - if(nd_dict == NULL) - nd_dict = irc_dictionary_create(irccmp); - if(irc_dictionary_find(nd_dict, name) != NULL) return;