]> jfr.im git - solanum.git/blobdiff - extensions/extb_oper.c
Merge pull request #302 from edk0/sasl-usercloak
[solanum.git] / extensions / extb_oper.c
index 72908b294c9dd3cb9b8b49e5220894963714b7a2..0400e724ca3a8e8644948bd02a49a24f143ae0b8 100644 (file)
@@ -42,7 +42,7 @@ static int eb_oper(const char *data, struct Client *client_p,
        if (data != NULL)
        {
                struct PrivilegeSet *set = privilegeset_get(data);
-               if (set != NULL && client_p->localClient->privset == set)
+               if (set != NULL && client_p->user->privset == set)
                        return EXTBAN_MATCH;
 
                /* $o:admin or whatever */