From f20c6c19cda1c672ed93836ddd33ce8e08e104c9 Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 18 Oct 2007 12:49:49 +0000 Subject: * Removed commented-out code for check_fake_id() * Merged improved/cleaned up (WiP) code for clif_parse_WisMessage * Removed the requirement to provide a character name in the message string when calling is_atcommand() (needed for the previous fix) - currently both ways work, but old will be removed in the upcoming command cleanup so please adjust your custom code if you use this! * Added clif_process_message(), an unified way to validate all four types of player message packets and retrieve their components * Applied the new checking function to clif code, this fixes various length mismatches caused by incomplete code in r11386 (bugreport:198) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11507 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/guild.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/guild.h') diff --git a/src/map/guild.h b/src/map/guild.h index f1bb836ea..b7b5f2ac4 100644 --- a/src/map/guild.h +++ b/src/map/guild.h @@ -71,8 +71,8 @@ int guild_change_notice(struct map_session_data *sd,int guild_id,const char *mes int guild_notice_changed(int guild_id,const char *mes1,const char *mes2); int guild_change_emblem(struct map_session_data *sd,int len,const char *data); int guild_emblem_changed(int len,int guild_id,int emblem_id,const char *data); -int guild_send_message(struct map_session_data *sd,char *mes,int len); -int guild_recv_message(int guild_id,int account_id,char *mes,int len); +int guild_send_message(struct map_session_data *sd,const char *mes,int len); +int guild_recv_message(int guild_id,int account_id,const char *mes,int len); int guild_send_dot_remove(struct map_session_data *sd); int guild_skillupack(int guild_id,int skill_num,int account_id); int guild_break(struct map_session_data *sd,char *name); -- cgit v1.2.3-70-g09d2