From 721a6a0347a25fbbcd58450cd43fe1c77706e7c0 Mon Sep 17 00:00:00 2001 From: pk910 Date: Tue, 16 Aug 2011 16:26:09 +0200 Subject: [PATCH] User is also LocOp if it has FLAG_LOCOP but isn't fully registered with the network, yet --- include/client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.20.1