From 257574bd77f78ec81f9175a3f74e404246f0211d Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Wed, 21 Feb 2007 14:29:48 +0000 Subject: [PATCH] Rooms may now search their owners --- src/wiz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wiz.c b/src/wiz.c index 0eb8321..4bc9348 100644 --- a/src/wiz.c +++ b/src/wiz.c @@ -1978,7 +1978,7 @@ raw_search(dbref player, const char *owner, int nargs, const char **args, return -1; } - if ((spec.owner != ANY_OWNER && spec.owner != player + if ((spec.owner != ANY_OWNER && spec.owner != Owner(player) && !(CanSearch(player, spec.owner) || (spec.type == TYPE_PLAYER)))) { giveto(player, FIND_COST); notify(player, T("You need a search warrant to do that.")); -- 2.30.2