diff options
Diffstat (limited to 'src/map/tmw.hpp')
-rw-r--r-- | src/map/tmw.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/tmw.hpp b/src/map/tmw.hpp index 5b20a6c..71de462 100644 --- a/src/map/tmw.hpp +++ b/src/map/tmw.hpp @@ -4,11 +4,12 @@ #include "map.hpp" -int tmw_CheckChatSpam (struct map_session_data *sd, char *message); -int tmw_ShorterStrlen (char *s1, char *s2); -int tmw_CheckChatLameness (struct map_session_data *sd, char *message); +int tmw_CheckChatSpam (struct map_session_data *sd, const char *message); +int tmw_ShorterStrlen (const char *s1, const char *s2); +int tmw_CheckChatLameness (struct map_session_data *sd, const char *message); +__attribute__((format(printf, 1, 2))) void tmw_GmHackMsg (const char *fmt, ...); -void tmw_AutoBan (struct map_session_data *sd, char *reason, int length); +void tmw_AutoBan (struct map_session_data *sd, const char *reason, int length); void tmw_TrimStr (char *str); #endif /* TMW_H_ */ |