X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fclient.h;h=26f0481cdaf13a7e8a4704dc8ae44e90793d703c;hb=b3e7a2bbceb4d17cdab3ce7579fcaac2aa77868d;hp=7110dd09e4a07e9252fdc3b837f418886c81a3e0;hpb=7fbb742f7d849cb57b23f2a76d90950174094719;p=ircu2.10.12-pk.git diff --git a/include/client.h b/include/client.h index 7110dd0..26f0481 100644 --- a/include/client.h +++ b/include/client.h @@ -556,7 +556,7 @@ struct Client { /** Return non-zero if the client caused a net.burst. */ #define IsJunction(x) HasFlag(x, FLAG_JUNCTION) /** Return non-zero if the client has set mode +O (local operator) locally. */ -#define IsLocOp(x) (MyUser(x) && HasFlag(x, FLAG_LOCOP)) +#define IsLocOp(x) (MyConnect(x) && HasFlag(x, FLAG_LOCOP)) /** Return non-zero if the client has set mode +o (global operator). */ #define IsOper(x) HasFlag(x, FLAG_OPER) /** Return non-zero if the client has an active UDP ping request. */