projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
25f4551
)
User is also LocOp if it has FLAG_LOCOP but isn't fully registered with the network...
author
pk910
<philipp@zoelle1.de>
Tue, 16 Aug 2011 14:26:09 +0000
(16:26 +0200)
committer
pk910
<philipp@zoelle1.de>
Tue, 16 Aug 2011 14:35:20 +0000
(16:35 +0200)
include/client.h
patch
|
blob
|
history
diff --git
a/include/client.h
b/include/client.h
index 20db7430013e16c1c68ee120e8902f79a8135d79..5d754bf1cfff2a706660a6b5036128f970aa9dcb 100644
(file)
--- 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. */
/** 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) (My
User
(x) && HasFlag(x, FLAG_LOCOP))
+#define IsLocOp(x) (My
Connect
(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. */
/** 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. */