summaryrefslogtreecommitdiff
path: root/src/login_sql/login.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-05 16:57:37 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-05 16:57:37 +0000
commite4e674473518ab7e513639f19963174b7697dade (patch)
tree55a634d9ef59c5ae139eca726db7a5bd5ca17fa0 /src/login_sql/login.c
parent804644fc009146a302af05848ec3ef3390a3dbcc (diff)
downloadhercules-e4e674473518ab7e513639f19963174b7697dade.tar.gz
hercules-e4e674473518ab7e513639f19963174b7697dade.tar.bz2
hercules-e4e674473518ab7e513639f19963174b7697dade.tar.xz
hercules-e4e674473518ab7e513639f19963174b7697dade.zip
Updates
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@468 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql/login.c')
-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]);