From: Rick L Bird Date: Fri, 22 Apr 2011 21:07:13 +0000 (-0400) Subject: Home checking was incorrect. Fixed. X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=735107957ac159b56ebf73a37b036f1afdb1f5f8;p=cobramush.git Home checking was incorrect. Fixed. --- 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);