From: Rick L Bird Date: Fri, 6 May 2011 22:04:36 +0000 (-0400) Subject: PennMUSH 1.8.3p11 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=18f1b10ce21e31a5d430a3da6c53b628ae285e2b;p=cobramush.git PennMUSH 1.8.3p11 Author: talvo@talvo.com Date: Thu Dec 24 22:39:55 2009 +0000 Issue 176, locks() reports built-in locks as being user: locks Fixes #149 --- diff --git a/src/lock.c b/src/lock.c index 54fc71f..87b8d54 100644 --- a/src/lock.c +++ b/src/lock.c @@ -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).