Fix minor issue in IsLocOp() test
authorKevin L. Mitchell <klmitch@mit.edu>
Wed, 17 Aug 2011 23:54:46 +0000 (18:54 -0500)
committerKevin L. Mitchell <klmitch@mit.edu>
Wed, 17 Aug 2011 23:54:46 +0000 (18:54 -0500)
ChangeLog
include/client.h
include/patchlevel.h

index 73d3d076187580f8261e1846c2c6215c0db204b8..edc241637b025fccd20d656243e08abb680019a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-08-17  Kevin L. Mitchell <klmitch@mit.edu>
+
+       * include/client.h: Fix minor issue in IsLocOp() test
+
+       * include/patchlevel.h (PATCHLEVEL): bump patchlevel to 14
+
 2011-05-15  Michael Poole  <mdpoole@troilus.org>
 
        * ircd/s_auth.c (iauth_cmd_done_account): Do not copy the
index 7110dd09e4a07e9252fdc3b837f418886c81a3e0..26f0481cdaf13a7e8a4704dc8ae44e90793d703c 100644 (file)
@@ -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. */
index dcdffbe35e1bf128d2a716baeaf48f52a9c8df37..df0484b88943cfbf10c4747b7a4fd1be58df6f8e 100644 (file)
@@ -18,7 +18,7 @@
  * $Id$
  *
  */
-#define PATCHLEVEL "13"
+#define PATCHLEVEL "14"
 
 #define RELEASE ".12."