summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-30 22:14:36 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-30 22:14:36 +0000
commit4d81f68ece4dee6282024fe7189d8402a05428db (patch)
treed04b30fe51fc769d70fab7e3ede00fe499fd923f /src/login_sql
parent3c9107ed87b2153f9ca2ed8896979f076be469e3 (diff)
downloadhercules-4d81f68ece4dee6282024fe7189d8402a05428db.tar.gz
hercules-4d81f68ece4dee6282024fe7189d8402a05428db.tar.bz2
hercules-4d81f68ece4dee6282024fe7189d8402a05428db.tar.xz
hercules-4d81f68ece4dee6282024fe7189d8402a05428db.zip
eAthena VC7 solution and support added for native builds [MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1347 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql')
-rw-r--r--src/login_sql/login.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 85f08391d..414b0efda 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -1134,6 +1134,8 @@ int parse_login(int fd) {
sprintf(ip, "%d.%d.%d.%d", p[0], p[1], p[2], p[3]);
+ memset(&account, 0, sizeof(account));
+
if (ipban > 0) {
//ip ban
//p[0], p[1], p[2], p[3]