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=721a6a0347a25fbbcd58450cd43fe1c77706e7c0;hpb=25f45518d22a7164fe11a2361b9b5a2ed57e2777 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. */