projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38358b
)
Fix bug in @stats
author
Ari Johnson
<ari@theari.com>
Wed, 8 Nov 2017 05:10:11 +0000
(
00:10
-0500)
committer
Ari Johnson
<ari@theari.com>
Wed, 8 Nov 2017 05:10:11 +0000
(
00:10
-0500)
src/wiz.c
patch
|
blob
|
history
diff --git
a/src/wiz.c
b/src/wiz.c
index 07708daa1e7e5eb5b8ec72bbbc361ec3d25b9a69..5ea21fcf480b07135760d57c7eb2a3d6c34b1a2b 100644
(file)
--- a/
src/wiz.c
+++ b/
src/wiz.c
@@
-742,8
+742,8
@@
do_stats(dbref player, const char *name)
notify_format(player, T("%s: No such player."), name);
return;
}
- if (
!CanSearch(player, owner)
) {
- if (
owner != ANY_OWNER && owner != player
) {
+ if (
owner != ANY_OWNER && owner != player
) {
+ if (
!CanSearch(player, owner)
) {
notify(player, T("You need a search warrant to do that!"));
return;
}