]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/newconf.c
Fix some split servers not appearing in oper /map.
[irc/rqf/shadowircd.git] / src / newconf.c
index 33de2a2e6d49468251ea2f2438449684fc845704..6f1c5f1e2ac5362d8361fed37d22806cfc93f88d 100644 (file)
@@ -307,7 +307,7 @@ static struct mode_table umode_table[] = {
        {NULL, 0}
 };
 
-static struct mode_table flag_table[] = {
+static struct mode_table oper_table[] = {
        {"encrypted",           OPER_ENCRYPTED          },
        {"local_kill",          OPER_LOCKILL            },
        {"global_kill",         OPER_GLOBKILL|OPER_LOCKILL      },
@@ -566,7 +566,7 @@ conf_set_oper_flags(void *data)
 {
        conf_parm_t *args = data;
 
-       set_modes_from_table(&yy_oper->flags, "flag", flag_table, args);
+       set_modes_from_table(&yy_oper->flags, "flag", oper_table, args);
 }
 
 static void