Home checking was incorrect. Fixed.
authorRick L Bird <nveid@yahoo.com>
Fri, 22 Apr 2011 21:07:13 +0000 (17:07 -0400)
committerRick L Bird <nveid@yahoo.com>
Fri, 22 Apr 2011 21:07:13 +0000 (17:07 -0400)
src/command.c

index 7d203fcd320b80d3a4eda92fd93d34f652e4774f..2278a22f144ebb60c50fbafd599dd1c9283d8f2f 100644 (file)
@@ -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);