summaryrefslogtreecommitdiff
path: root/src/char/inter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/inter.h')
-rw-r--r--src/char/inter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/inter.h b/src/char/inter.h
index e5bfa1572..7ea9cf25c 100644
--- a/src/char/inter.h
+++ b/src/char/inter.h
@@ -32,8 +32,8 @@ uint64 inter_chk_lastuid(int8 flag, uint64 value);
#define updateLastUid(val_) inter_chk_lastuid(1, val_)
#define dbUpdateUid(handler_)\
{ \
- uint64 nsiuid_ = inter_chk_lastuid(0, 0); \
- if (nsiuid_ && SQL_ERROR == Sql_Query(handler_, "UPDATE `interreg` SET `value`='%"PRIu64"' WHERE `varname`='nsiuid'", nsiuid_)) \
+ uint64 unique_id_ = inter_chk_lastuid(0, 0); \
+ if (unique_id_ && SQL_ERROR == Sql_Query(handler_, "UPDATE `interreg` SET `value`='%"PRIu64"' WHERE `varname`='unique_id'", unique_id_)) \
Sql_ShowDebug(handler_);\
}
#else