From 735107957ac159b56ebf73a37b036f1afdb1f5f8 Mon Sep 17 00:00:00 2001 From: Rick L Bird Date: Fri, 22 Apr 2011 17:07:13 -0400 Subject: [PATCH] Home checking was incorrect. Fixed. --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.c b/src/command.c index 7d203fc..2278a22 100644 --- a/src/command.c +++ b/src/command.c @@ -1114,7 +1114,7 @@ command_parse(dbref player, dbref cause, dbref realcause, char *string, int from * usual processing. Exits have next priority. We still pass them * through the parser so @hook on GOTO can work on them. */ - if (strcasecmp(p, "home") && can_move(player, p)) { + if (!strcasecmp(p, "home") && can_move(player, p)) { ec = exit_command; safe_str("GOTO ", exit_command, &ec); safe_str(p, exit_command, &ec); -- 2.30.2