diff options
Diffstat (limited to 'src/map/atcommand.hpp')
-rw-r--r-- | src/map/atcommand.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/map/atcommand.hpp b/src/map/atcommand.hpp index 50ad9b2..ec69cc7 100644 --- a/src/map/atcommand.hpp +++ b/src/map/atcommand.hpp @@ -190,16 +190,13 @@ typedef struct AtCommandInfo const char *command, const char *message); } AtCommandInfo; -AtCommandType is_atcommand(const int fd, struct map_session_data *sd, - const char *message, int gmlvl); +bool is_atcommand(const int fd, struct map_session_data *sd, + const char *message, int gmlvl); int get_atcommand_level(const AtCommandType type); int atcommand_config_read(const char *cfgName); -__attribute__((format(printf, 2, 3))) -void log_atcommand(struct map_session_data *sd, const char *fmt, ...); -__attribute__((format(printf, 1, 2))) -void gm_log(const char *fmt, ...); +void log_atcommand(struct map_session_data *sd, const_string cmd); #endif // ATCOMMAND_HPP |