summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index d405ee81c..0c7dc16b2 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -6994,7 +6994,7 @@ int clif_guild_leave(struct map_session_data *sd,const char *name,const char *me
int clif_guild_expulsion(struct map_session_data *sd,const char *name,const char *mes,int account_id)
{
unsigned char buf[128];
-#if PACKETVER < 20100608
+#if PACKETVER < 20100803
const unsigned short cmd = 0x15c;
#else
const unsigned short cmd = 0x839;
@@ -7005,7 +7005,7 @@ int clif_guild_expulsion(struct map_session_data *sd,const char *name,const char
WBUFW(buf,0) = cmd;
safestrncpy((char*)WBUFP(buf, 2),name,NAME_LENGTH);
safestrncpy((char*)WBUFP(buf,26),mes,40);
-#if PACKETVER < 20100608
+#if PACKETVER < 20100803
safestrncpy((char*)WBUFP(buf,66),"",NAME_LENGTH); // account name (not used for security reasons)
#endif
clif_send(buf,packet_len(cmd),&sd->bl,GUILD_NOBG);