From: Ari Johnson Date: Sun, 31 May 2009 08:07:48 +0000 (+0000) Subject: Add Command_Lock to exemption list for Pass_Locks power X-Git-Tag: 0.73p2~36 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=7f3c3395a16b71fd440165ba177e9fa70c565528;p=cobramush.git Add Command_Lock to exemption list for Pass_Locks power (cherry picked from commit 24d1236ce94acb028055ffbc4d5b0edc7f148c4c) --- diff --git a/hdrs/lock.h b/hdrs/lock.h index 09d4a59..238b865 100644 --- 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 locktypes we don't pass Use and Command */ +#define IS_passlock_type(ltp) (strcasecmp(ltp, Use_Lock) && strcasecmp(ltp, Command_Lock)) #endif /* __LOCK_H */