projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b9df7
)
Add Command_Lock to exemption list for Pass_Locks power
author
Ari Johnson
<ari@theari.com>
Sun, 31 May 2009 08:07:48 +0000
(08:07 +0000)
committer
Ari Johnson
<ari@theari.com>
Fri, 22 May 2009 15:04:49 +0000
(15:04 +0000)
(cherry picked from commit
24d1236ce94acb028055ffbc4d5b0edc7f148c4c
)
hdrs/lock.h
patch
|
blob
|
history
diff --git
a/hdrs/lock.h
b/hdrs/lock.h
index 09d4a59575ab0c4eb7e1b25e6b2fb60ea55555d1..238b865f9211702d629b18dd789080f76adde141 100644
(file)
--- a/
hdrs/lock.h
+++ b/
hdrs/lock.h
@@
-121,7
+121,7
@@
extern const lock_type chan_hide_lock;
/* Declare new lock types here! */
-/* The only locktype
we don't pass is the uselock
*/
-#define IS_passlock_type(ltp) (strcasecmp(ltp
, Use_Lock)!=0
)
+/* The only locktype
s we don't pass Use and Command
*/
+#define IS_passlock_type(ltp) (strcasecmp(ltp
, Use_Lock) && strcasecmp(ltp, Command_Lock)
)
#endif /* __LOCK_H */