(dispatch): Argument buf is user text and must be printed as such. In
error messages, print just the command name instead.
This commit is contained in:
parent
ddfd5c1699
commit
2f35354097
2 changed files with 14 additions and 5 deletions
|
@ -417,7 +417,7 @@ extern void player_wakeup_all(natid);
|
|||
extern void player_wakeup(struct player *);
|
||||
extern void player_accept(void *);
|
||||
/* dispatch.c */
|
||||
extern int dispatch(s_char *, s_char *);
|
||||
extern int dispatch(char *, char *);
|
||||
/* empdis.c */
|
||||
extern int getcommand(s_char *);
|
||||
extern void init_player_commands(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue