From e8679533f122d721a00242d8ff53c49428afc0c6 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Wed, 8 Nov 2017 00:10:11 -0500 Subject: [PATCH] Fix bug in @stats --- src/wiz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wiz.c b/src/wiz.c index 07708da..5ea21fc 100644 --- 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; } -- 2.30.2