From: Ari Johnson <ari@theari.com>
Date: Tue, 12 Apr 2011 22:37:17 +0000 (-0400)
Subject: Revise function documentation header for do_atrlock()
X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=20347f45eef68926e8430b2ad3098f65007abaea;p=cobramush.git

Revise function documentation header for do_atrlock()
---

diff --git a/src/attrib.c b/src/attrib.c
index 84a3a85..5de4d77 100644
--- a/src/attrib.c
+++ b/src/attrib.c
@@ -1894,11 +1894,10 @@ do_set_atr(dbref thing, const char *RESTRICT atr, const char *RESTRICT s,
 }
 
 /** 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,