version 1.78 | | version 1.79 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.78 2006/06/01 18:59:14 tchize Exp $"; | | * "$Id: init.c,v 1.79 2006/07/14 17:58:10 qal21 Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
LOG(llevError, "load_settings: unknown value for no_player_stealing: %s\n", cp); | | LOG(llevError, "load_settings: unknown value for no_player_stealing: %s\n", cp); |
} | | } |
| | |
| | } else if ( !strcasecmp( buf, "create_home_portals" ) ) { |
| | if (!strcasecmp(cp, "on") || !strcasecmp(cp, "true")) { |
| | settings.no_player_stealing = TRUE; |
| | } else if (!strcasecmp(cp, "off") || !strcasecmp(cp, "false")) { |
| | settings.create_home_portals = FALSE; |
| | } else { |
| | LOG(llevError, "load_settings: unknown value for create_home_portals: %s\n", cp); |
| | } |
| | |
} else { | | } else { |
LOG(llevError,"Unknown value in settings file: %s\n", buf); | | LOG(llevError,"Unknown value in settings file: %s\n", buf); |
} | | } |