projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e04ef1
)
Home checking was incorrect. Fixed.
author
Rick L Bird
<nveid@yahoo.com>
Fri, 22 Apr 2011 21:07:13 +0000
(17:07 -0400)
committer
Rick L Bird
<nveid@yahoo.com>
Fri, 22 Apr 2011 21:07:13 +0000
(17:07 -0400)
src/command.c
patch
|
blob
|
history
diff --git
a/src/command.c
b/src/command.c
index 7d203fcd320b80d3a4eda92fd93d34f652e4774f..2278a22f144ebb60c50fbafd599dd1c9283d8f2f 100644
(file)
--- 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);