}
/** Lock or unlock an attribute.
- * Attribute locks are largely obsolete and should be deprecated,
- * but this is the code that does them.
* \param player the enactor.
* \param arg1 the object/attribute, as a string.
- * \param arg2 the desired lock status ('on' or 'off').
+ * \param arg2 the desired boolexp for the lock
+ * \param write_lock if non-zero, then set the writelock instead of readlock
*/
void
do_atrlock(dbref player, const char *arg1, const char *arg2,