diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-12 21:32:23 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-12 21:32:23 +0000 |
commit | f298f7b24bca05428fcef277acf1e914bb50cb14 (patch) | |
tree | d751cd2c6c6a9b9e1147d6800a12c1a2b8136a45 /src | |
parent | d2546dfc77b17ef7a25c0496d75b2f29de21999c (diff) | |
download | hercules-f298f7b24bca05428fcef277acf1e914bb50cb14.tar.gz hercules-f298f7b24bca05428fcef277acf1e914bb50cb14.tar.bz2 hercules-f298f7b24bca05428fcef277acf1e914bb50cb14.tar.xz hercules-f298f7b24bca05428fcef277acf1e914bb50cb14.zip |
Fixed SQL charserver not logging char deletion correctly (see bugreport:944)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12197 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/char_sql/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 50f72718e..7839c1b96 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1310,7 +1310,7 @@ int delete_char_sql(int char_id, int partner_id) Sql_GetData(sql_handle, 4, &data, NULL); base_level = atoi(data); Sql_GetData(sql_handle, 5, &data, NULL); hom_id = atoi(data); - Sql_EscapeStringLen(sql_handle, esc_name, data, min(len, NAME_LENGTH)); + Sql_EscapeStringLen(sql_handle, esc_name, name, min(len, NAME_LENGTH)); Sql_FreeResult(sql_handle); //check for config char del condition [Lupus] |