summaryrefslogtreecommitdiff
path: root/src/char_sql/inter.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-11 09:31:32 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-11 09:31:32 +0000
commit044ca381f50daa43b09fad43c9a671c276fc2f2f (patch)
tree77a59efa67e8a5c4375f8f8a1165fe3e37beb5bb /src/char_sql/inter.c
parent222c9602a0802e12810af0bdbc09a186154f8b96 (diff)
downloadhercules-044ca381f50daa43b09fad43c9a671c276fc2f2f.tar.gz
hercules-044ca381f50daa43b09fad43c9a671c276fc2f2f.tar.bz2
hercules-044ca381f50daa43b09fad43c9a671c276fc2f2f.tar.xz
hercules-044ca381f50daa43b09fad43c9a671c276fc2f2f.zip
The max_account_id packetver detection mechanism will never cause any connection problems ever again. (bugreport:388)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12563 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/inter.c')
-rw-r--r--src/char_sql/inter.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c
index 00c29568b..72c88a3f2 100644
--- a/src/char_sql/inter.c
+++ b/src/char_sql/inter.c
@@ -552,17 +552,6 @@ int mapif_send_gmaccounts()
return 0;
}
-//Sends the current max account/char id to map server [Skotlex]
-void mapif_send_maxid(int account_id, int char_id)
-{
- unsigned char buf[12];
-
- WBUFW(buf,0) = 0x2b07;
- WBUFL(buf,2) = account_id;
- WBUFL(buf,6) = char_id;
- mapif_sendall(buf, 10);
-}
-
//Request to kick char from a certain map server. [Skotlex]
int mapif_disconnectplayer(int fd, int account_id, int char_id, int reason)
{