summaryrefslogtreecommitdiff
path: root/src/login_sql/login.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-24 15:10:51 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-24 15:10:51 +0000
commitbcfd26477585eb8de9ec336cd201688e9314150e (patch)
tree69ace2996d9385022b8d5501fd9c3df78f3e62d5 /src/login_sql/login.c
parent1e629a763c308781b17c03bc64e937006b568bac (diff)
downloadhercules-bcfd26477585eb8de9ec336cd201688e9314150e.tar.gz
hercules-bcfd26477585eb8de9ec336cd201688e9314150e.tar.bz2
hercules-bcfd26477585eb8de9ec336cd201688e9314150e.tar.xz
hercules-bcfd26477585eb8de9ec336cd201688e9314150e.zip
- Changed Land Protector's range back to 3.
- fixed unban unblocking players as well. - Fixed Volcano/Deluge/Violent Gale increasing damage based on element of attack instead of defense element of attacker. - Cleaned up the code of Magic Rod, fixed it not giving SP. - Moved the code of Hermod and Basilica to castend_pos2 so it should work now. - Modified the code of Ankle Snare so the status ends on unit's time-limit rather than when the snared object moves away. - Re-worded the water check of ST_WATER skills. - Allowed sc-cast reductions to be processed even when cast-time is instant (to let suffragium end even on instant-cast skills) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7855 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql/login.c')
-rw-r--r--src/login_sql/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 059611979..45cd4284d 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -1319,7 +1319,7 @@ int parse_fromchar(int fd){
sql_row = mysql_fetch_row(sql_res); //row fetching
}
if (atol(sql_row[0]) != 0) {
- sprintf(tmpsql,"UPDATE `%s` SET `ban_until` = '0', `state`='0' WHERE `%s` = '%d'", login_db,login_db_account_id,acc);
+ sprintf(tmpsql,"UPDATE `%s` SET `ban_until` = '0' WHERE `%s` = '%d'", login_db,login_db_account_id,acc);
//query
if(mysql_query(&mysql_handle, tmpsql)) {
ShowSQL("DB error - %s\n",mysql_error(&mysql_handle));