From: Ari Johnson Date: Wed, 8 Nov 2017 05:10:11 +0000 (-0500) Subject: Fix bug in @stats X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=e8679533f122d721a00242d8ff53c49428afc0c6;p=cobramush.git Fix bug in @stats --- 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; }