From: Kevin L. Mitchell Date: Wed, 17 Aug 2011 23:54:46 +0000 (-0500) Subject: Fix minor issue in IsLocOp() test X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=b3e7a2bbceb4d17cdab3ce7579fcaac2aa77868d Fix minor issue in IsLocOp() test --- diff --git a/ChangeLog b/ChangeLog index 73d3d07..edc2416 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-08-17 Kevin L. Mitchell + + * include/client.h: Fix minor issue in IsLocOp() test + + * include/patchlevel.h (PATCHLEVEL): bump patchlevel to 14 + 2011-05-15 Michael Poole * ircd/s_auth.c (iauth_cmd_done_account): Do not copy the 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. */ diff --git a/include/patchlevel.h b/include/patchlevel.h index dcdffbe..df0484b 100644 --- a/include/patchlevel.h +++ b/include/patchlevel.h @@ -18,7 +18,7 @@ * $Id$ * */ -#define PATCHLEVEL "13" +#define PATCHLEVEL "14" #define RELEASE ".12."