]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_newconf.c
Remove various unused macros.
[irc/rqf/shadowircd.git] / src / s_newconf.c
index 865b8fb8f37e93b4d3858f94f56758b9449d5b5f..c93b57ee1cfb669d70750f86478a8331fb297373 100644 (file)
@@ -331,6 +331,7 @@ static struct oper_flags oper_flagtable[] =
        { OPER_GLINE,           'G', 'g' },
        { OPER_KLINE,           'K', 'k' },
        { OPER_XLINE,           'X', 'x' },
        { 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' },
        { 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));
 }
 
        return(dlink_list_length(&nd_list));
 }
 
-struct Dictionary *nd_dict = NULL;
-
 void
 add_nd_entry(const char *name)
 {
        struct nd_entry *nd;
 
 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;
 
        if(irc_dictionary_find(nd_dict, name) != NULL)
                return;