projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92cad90
)
@function fix - no one could add global @funs since behavior was changed, function...
author
nveid
<nveid@cobramush.org>
Tue, 10 Apr 2007 17:40:00 +0000
(17:40 +0000)
committer
Ari Johnson
<ari@theari.com>
Thu, 24 Mar 2011 15:58:45 +0000
(15:58 +0000)
(cherry picked from commit
8b9a9685f08311d89f4706b71fbb4d3324db09c6
)
src/function.c
patch
|
blob
|
history
diff --git
a/src/function.c
b/src/function.c
index 72aa3809594237df60d52e441cbc02812ff36ed9..32d7652a6675edba1b4ae99cda4ec94702d7b2d8 100644
(file)
--- a/
src/function.c
+++ b/
src/function.c
@@
-1197,8
+1197,8
@@
do_function(dbref player, char *name, char *argv[], int preserve)
if ((thing = noisy_match_result(player, argv[1], NOTYPE, MAT_EVERYTHING))
== NOTHING)
return;
- if(controls(player, thing)) {
- notify(player, T("
No permission to examine object
."));
+ if(
!
controls(player, thing)) {
+ notify(player, T("
Permission denied
."));
return;
}
/* we don't need to check if the attribute exists. If it doesn't,