summaryrefslogtreecommitdiff
path: root/src/login_sql/login.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login_sql/login.h')
-rw-r--r--src/login_sql/login.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/login_sql/login.h b/src/login_sql/login.h
index 882a284e9..c1b9b671d 100644
--- a/src/login_sql/login.h
+++ b/src/login_sql/login.h
@@ -12,7 +12,7 @@
#ifndef SQL_DEBUG
-#define mysql_query(_x, _y) mysql_real_query(_x, _y, strlen(_y)) //supports ' in names and runs faster [Kevin]
+#define mysql_query(_x, _y) mysql_query(_x, _y)
#else
@@ -26,19 +26,18 @@
// When it is made 3, it corresponds to both.
struct mmo_account {
- int version; //Added by sirius for versioncheck
+ int version;
char userid[NAME_LENGTH];
char passwd[NAME_LENGTH];
int passwdenc;
-
long account_id;
long login_id1;
long login_id2;
long char_id;
char lastlogin[24];
int sex;
- int level; // added [zzo]
+ int level;
};
struct mmo_char_server {
@@ -50,5 +49,4 @@ struct mmo_char_server {
int new_;
};
-
#endif /* _LOGIN_SQL_H_ */