X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=include%2Fclient.h;h=5d754bf1cfff2a706660a6b5036128f970aa9dcb;hp=20db7430013e16c1c68ee120e8902f79a8135d79;hb=HEAD;hpb=3ff8f436014bfe342053877d3d063d181a753e3b diff --git a/include/client.h b/include/client.h index 20db743..5d754bf 100644 --- a/include/client.h +++ b/include/client.h @@ -601,7 +601,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. */