diff options
author | Haru <haru@dotalux.com> | 2014-01-20 15:50:07 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-01-22 14:50:55 +0100 |
commit | 0b96dc2756d97048fc8d4bf2c0eca8ae2555a82e (patch) | |
tree | dd9a2d354c61b0514e8a66006187ce5930aace00 /src/map/atcommand.h | |
parent | 1da48873bb0c9e29e53528eca04593560bcea57f (diff) | |
download | hercules-0b96dc2756d97048fc8d4bf2c0eca8ae2555a82e.tar.gz hercules-0b96dc2756d97048fc8d4bf2c0eca8ae2555a82e.tar.bz2 hercules-0b96dc2756d97048fc8d4bf2c0eca8ae2555a82e.tar.xz hercules-0b96dc2756d97048fc8d4bf2c0eca8ae2555a82e.zip |
Renamed atcommand->parse to atcommand->exec
- Renamed function to a more appropriate name.
- Changed its last argument 'int type' to 'bool player_invoked' to make
its purpose more obvious.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/atcommand.h')
-rw-r--r-- | src/map/atcommand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.h b/src/map/atcommand.h index 710499a43..f95940924 100644 --- a/src/map/atcommand.h +++ b/src/map/atcommand.h @@ -80,7 +80,7 @@ struct atcommand_interface { void (*init) (bool minimal); void (*final) (void); /* */ - bool (*parse) (const int fd, struct map_session_data* sd, const char* message, int type); + bool (*exec) (const int fd, struct map_session_data *sd, const char *message, bool player_invoked); bool (*create) (char *name, AtCommandFunc func); bool (*can_use) (struct map_session_data *sd, const char *command); bool (*can_use2) (struct map_session_data *sd, const char *command, AtCommandType type); |