summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-01 22:24:18 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-01 22:24:18 +0000
commit9d99ade0a1022ea09287d11c6f3f67b06d5c87f2 (patch)
tree892061006648060b696d4f8a360ad93faef5ac68 /src/map/clif.c
parent03efbcc40b314aea24622a8b4a409418efc953cc (diff)
downloadhercules-9d99ade0a1022ea09287d11c6f3f67b06d5c87f2.tar.gz
hercules-9d99ade0a1022ea09287d11c6f3f67b06d5c87f2.tar.bz2
hercules-9d99ade0a1022ea09287d11c6f3f67b06d5c87f2.tar.xz
hercules-9d99ade0a1022ea09287d11c6f3f67b06d5c87f2.zip
* Fixed packet 0x839 (new guild member expel notification) was expected on clients 2010-06-08aRagexeRE~2010-07-30aRagexeRE, although those do not implement it (bugreport:4789, since r14718, related r14368).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14728 54d463be-8e91-2dee-dedb-b68131a5f0ec
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);