diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-05 10:03:18 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-05 10:03:18 +0000 |
commit | 75d478167c9a6592d98cc282611640c74c44c9bd (patch) | |
tree | ae85d6eb0ba7033b5fc8e385bf435bb0918096b8 /src/login/login_txt.c | |
parent | ede34865036ce2e80885a0f945ab18f7dbde6e53 (diff) | |
download | hercules-75d478167c9a6592d98cc282611640c74c44c9bd.tar.gz hercules-75d478167c9a6592d98cc282611640c74c44c9bd.tar.bz2 hercules-75d478167c9a6592d98cc282611640c74c44c9bd.tar.xz hercules-75d478167c9a6592d98cc282611640c74c44c9bd.zip |
Removed code that maintains the `sstatus` table, because it's in the way. To be resolved later.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12491 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/login_txt.c')
-rw-r--r-- | src/login/login_txt.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/login/login_txt.c b/src/login/login_txt.c index cffede93b..73b1944a6 100644 --- a/src/login/login_txt.c +++ b/src/login/login_txt.c @@ -1722,9 +1722,6 @@ int parse_login(int fd) return 0; { char server_name[20]; -#ifndef TXT_ONLY - char esc_server_name[20*2+1]; -#endif char message[256]; uint32 server_ip; uint16 server_port; @@ -1770,12 +1767,6 @@ int parse_login(int fd) // send GM account to char-server send_GM_accounts(fd); - -#ifndef TXT_ONLY - Sql_EscapeStringLen(sql_handle, esc_server_name, server_name, strnlen(server_name, 20)); - if( SQL_ERROR == Sql_Query(sql_handle, "REPLACE INTO `sstatus`(`index`,`name`,`user`) VALUES ( '%d', '%s', '%d')", sd->account_id, esc_server_name, 0) ) - Sql_ShowDebug(sql_handle); -#endif } else { |