PennMUSH 1.8.3p11
authorRick L Bird <nveid@yahoo.com>
Fri, 6 May 2011 22:04:36 +0000 (18:04 -0400)
committerRick L Bird <nveid@yahoo.com>
Fri, 6 May 2011 22:04:36 +0000 (18:04 -0400)
Author: talvo@talvo.com
<talvo@talvo.com@ba372814-4f39-11de-9ad6-1127a62b9fcd>
Date:   Thu Dec 24 22:39:55 2009 +0000

    Issue 176, locks() reports built-in locks as being user: locks

Fixes #149

src/lock.c

index 54fc71f553c899b698e3c7709f4176aebdc66fb2..87b8d541c7757fc4d8082eac603b946cdc07c1bd 100644 (file)
@@ -439,7 +439,7 @@ match_lock(lock_type type)
 const lock_list *
 get_lockproto(lock_type type)
 {
-  return hashfind(type, &htab_locks);
+  return hashfind(strupper(type), &htab_locks);
 }
 
 /** Add a lock to an object (primitive).