diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-05 16:57:37 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-05 16:57:37 +0000 |
commit | e4e674473518ab7e513639f19963174b7697dade (patch) | |
tree | 55a634d9ef59c5ae139eca726db7a5bd5ca17fa0 /src/login_sql/login.c | |
parent | 804644fc009146a302af05848ec3ef3390a3dbcc (diff) | |
download | hercules-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.c | 4 |
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]); |