projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55ebef
)
PennMUSH 1.8.3p11
author
Rick L Bird
<nveid@yahoo.com>
Thu, 5 May 2011 22:17:57 +0000
(18:17 -0400)
committer
Rick L Bird
<nveid@yahoo.com>
Thu, 5 May 2011 22:17:57 +0000
(18:17 -0400)
Author: captdeaf@gmail.com
<captdeaf@gmail.com@
ba372814
-4f39-11de-9ad6-
1127a62b9fcd
>
Date: Mon Oct 26 16:19:43 2009 +0000
Fixed error reporting for testlock().
Refs #137
src/fundb.c
patch
|
blob
|
history
diff --git
a/src/fundb.c
b/src/fundb.c
index 6e126ca79e10908b4221694311f96b2ed8073c12..f488e7a5e9ebd2ab1b5f6ac761e0b85e483b52f1 100644
(file)
--- a/
src/fundb.c
+++ b/
src/fundb.c
@@
-1313,6
+1313,11
@@
FUNCTION(fun_testlock)
elock = parse_boolexp(executor, args[0], "Search");
+ if (elock == TRUE_BOOLEXP) {
+ safe_str("#-1 INVALID BOOLEXP", buff, bp);
+ return;
+ }
+
if (!GoodObject(victim)) {
safe_str("#-1", buff, bp);
return;