diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-19 15:48:57 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-19 15:48:57 +0000 |
commit | 73c06082f78f6ba79e40bf66c531d5ff99082fee (patch) | |
tree | adf94e026ce531dc63c690ac3f16fff1dc30ed6d /src/login/loginlog_txt.c | |
parent | db6e4aaaeea4e7053e17576db730def8b3cd4fd9 (diff) | |
download | hercules-73c06082f78f6ba79e40bf66c531d5ff99082fee.tar.gz hercules-73c06082f78f6ba79e40bf66c531d5ff99082fee.tar.bz2 hercules-73c06082f78f6ba79e40bf66c531d5ff99082fee.tar.xz hercules-73c06082f78f6ba79e40bf66c531d5ff99082fee.zip |
* Added global sql settings 'sql.*' to inter_athena.conf.
* Made account, ipban and loginlog use the global sql settings when the hostname is empty.
* Commented 'ipban.sql.*' and 'account.sql.*' so they default to the global settings.
* Removed deprecated settings 'case_sensitive' and 'add_to_unlimited_account' from in login_athena.conf.
* Made inter_athena.conf be imported from login_athena.conf instead of being handled separate.
* Changed ipban to get the failed login attempts of an ip from loginlog (respects if loginlog is enabled or not).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13092 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/loginlog_txt.c')
-rw-r--r-- | src/login/loginlog_txt.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/login/loginlog_txt.c b/src/login/loginlog_txt.c index d40142110..724156ddc 100644 --- a/src/login/loginlog_txt.c +++ b/src/login/loginlog_txt.c @@ -18,6 +18,13 @@ char login_log_filename[1024] = "log/login.log"; +// Returns the number of failed login attemps by the ip in the last minutes. +unsigned long loginlog_failedattempts(uint32 ip, unsigned int minutes) +{ + // XXX not implemented + return 0; +} + /*============================================= * Records an event in the login log |