summaryrefslogtreecommitdiff
path: root/src/map/atcommand.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-12-27 21:23:46 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-01-07 15:31:38 -0800
commitc080e504e4d74027b985b1ed675c172c083cea76 (patch)
treeac084d16d9d40c0a0c950b66eb62a0e16795d486 /src/map/atcommand.hpp
parentae30173d71d3bfc8514dbe70b6c90c9a3324b8fc (diff)
downloadtmwa-c080e504e4d74027b985b1ed675c172c083cea76.tar.gz
tmwa-c080e504e4d74027b985b1ed675c172c083cea76.tar.bz2
tmwa-c080e504e4d74027b985b1ed675c172c083cea76.tar.xz
tmwa-c080e504e4d74027b985b1ed675c172c083cea76.zip
Use cxxstdio
Diffstat (limited to 'src/map/atcommand.hpp')
-rw-r--r--src/map/atcommand.hpp9
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