summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/login_sql')
-rw-r--r--src/login_sql/login.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 6e967ec72..3a261bdf0 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -576,7 +576,9 @@ int mmo_auth( struct mmo_account* account , int fd){
if ( is_user_online(atol(sql_row[0])) ) {
printf("User [%s] is already online - Rejected.\n",sql_row[1]);
- return 3; // Rejected
+#ifndef TWILIGHT
+ return 3; // Rejected
+#endif
}
account->account_id = atoi(sql_row[0]);