X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/7b7e1640ded40f58f8d6242e35edbc5deb2bc924..43946961df9e7703c8877e4bbd9181507422429d:/modules/m_privs.c diff --git a/modules/m_privs.c b/modules/m_privs.c index 35c2f10e..e4479f6d 100644 --- a/modules/m_privs.c +++ b/modules/m_privs.c @@ -67,7 +67,6 @@ static struct mode_table oper_table[] = { {"remote", OPER_REMOTE }, {"kline", OPER_KLINE }, {"unkline", OPER_UNKLINE }, - {"gline", OPER_GLINE }, {"nick_changes", OPER_NICKS }, {"rehash", OPER_REHASH }, {"die", OPER_DIE }, @@ -86,7 +85,6 @@ static struct mode_table oper_table[] = { /* there is no such table like this anywhere else */ static struct mode_table auth_client_table[] = { {"resv_exempt", FLAGS2_EXEMPTRESV }, - {"gline_exempt", FLAGS2_EXEMPTGLINE }, {"kline_exempt", FLAGS2_EXEMPTKLINE }, {"flood_exempt", FLAGS2_EXEMPTFLOOD }, {"spambot_exempt", FLAGS2_EXEMPTSPAMBOT }, @@ -109,17 +107,17 @@ static void show_privs(struct Client *source_p, struct Client *target_p) if (target_p->flags2 & p->mode) { if (buf[0] != '\0') - strlcat(buf, " ", sizeof buf); - strlcat(buf, p->name, sizeof buf); + rb_strlcat(buf, " ", sizeof buf); + rb_strlcat(buf, p->name, sizeof buf); } p++; } if (IsOper(target_p)) { if (buf[0] != '\0') - strlcat(buf, " ", sizeof buf); - strlcat(buf, "operator:", sizeof buf); - strlcat(buf, target_p->localClient->opername, sizeof buf); + rb_strlcat(buf, " ", sizeof buf); + rb_strlcat(buf, "operator:", sizeof buf); + rb_strlcat(buf, target_p->localClient->opername, sizeof buf); } p = &auth_client_table[0]; while (p->name != NULL) @@ -127,8 +125,8 @@ static void show_privs(struct Client *source_p, struct Client *target_p) if (target_p->flags2 & p->mode) { if (buf[0] != '\0') - strlcat(buf, " ", sizeof buf); - strlcat(buf, p->name, sizeof buf); + rb_strlcat(buf, " ", sizeof buf); + rb_strlcat(buf, p->name, sizeof buf); } p++; }