]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_privs.c
Remove silly a2client_p, entirely pointless since User.server removal.
[irc/rqf/shadowircd.git] / extensions / m_privs.c
index beb8b9eabd1a807ce746a0680d88b61e0ccf7430..d005be26e97d4ce0253cf96e6f07cabcb9367de4 100644 (file)
@@ -91,7 +91,6 @@ static struct mode_table auth_client_table[] = {
        {"gline_exempt",        FLAGS2_EXEMPTGLINE      },
        {"kline_exempt",        FLAGS2_EXEMPTKLINE      },
        {"flood_exempt",        FLAGS2_EXEMPTFLOOD      },
-       /*{"exceed_limit",      FLAGS2_NOLIMIT          }, no effect (?) */
        {"spambot_exempt",      FLAGS2_EXEMPTSPAMBOT    },
        {"shide_exempt",        FLAGS2_EXEMPTSHIDE      },
        {"jupe_exempt",         FLAGS2_EXEMPTJUPE       },
@@ -121,7 +120,8 @@ static void show_privs(struct Client *source_p, struct Client *target_p)
        {
                if (buf[0] != '\0')
                        strlcat(buf, " ", sizeof buf);
-               strlcat(buf, "O", sizeof buf);
+               strlcat(buf, "operator:", sizeof buf);
+               strlcat(buf, target_p->localClient->opername, sizeof buf);
        }
        p = &auth_client_table[0];
        while (p->name != NULL)