summaryrefslogtreecommitdiff
path: root/src/char/int_guild.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 01:51:17 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 01:51:17 +0000
commit726dfead1497c0c01c9725ab0a83d1b339226498 (patch)
tree77b7a10baf9406503ab75eb2acfc9f1e12133fee /src/char/int_guild.c
parent12a4dd862878f261de8863b81b1c5aecf4729d21 (diff)
downloadhercules-726dfead1497c0c01c9725ab0a83d1b339226498.tar.gz
hercules-726dfead1497c0c01c9725ab0a83d1b339226498.tar.bz2
hercules-726dfead1497c0c01c9725ab0a83d1b339226498.tar.xz
hercules-726dfead1497c0c01c9725ab0a83d1b339226498.zip
Rewrite inter server messaging
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@740 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/int_guild.c')
-rw-r--r--src/char/int_guild.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index 5a6775cff..3229453f8 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -786,7 +786,7 @@ int mapif_guild_broken(int guild_id, int flag) {
}
// ギルド内発言
-int mapif_guild_message(int guild_id, int account_id, char *mes, int len) {
+int mapif_guild_message(int guild_id, int account_id, char *mes, int len, int sfd) {
unsigned char buf[len+12];
WBUFW(buf,0) = 0x3837;
@@ -794,7 +794,7 @@ int mapif_guild_message(int guild_id, int account_id, char *mes, int len) {
WBUFL(buf,4) = guild_id;
WBUFL(buf,8) = account_id;
memcpy(WBUFP(buf,12), mes, len);
- mapif_sendall(buf, len + 12);
+ mapif_sendallwos(sfd, buf, len + 12);
return 0;
}
@@ -1152,7 +1152,7 @@ int mapif_parse_BreakGuild(int fd, int guild_id) {
// ギルドメッセージ送信
int mapif_parse_GuildMessage(int fd, int guild_id, int account_id, char *mes, int len) {
- return mapif_guild_message(guild_id, account_id, mes, len);
+ return mapif_guild_message(guild_id, account_id, mes, len, fd);
}
// ギルド基本データ変更要求