summaryrefslogtreecommitdiff
path: root/src/login/loginlog.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-19 15:48:57 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-19 15:48:57 +0000
commit73c06082f78f6ba79e40bf66c531d5ff99082fee (patch)
treeadf94e026ce531dc63c690ac3f16fff1dc30ed6d /src/login/loginlog.h
parentdb6e4aaaeea4e7053e17576db730def8b3cd4fd9 (diff)
downloadhercules-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.h')
-rw-r--r--src/login/loginlog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/loginlog.h b/src/login/loginlog.h
index 749d0fbf1..a1ffaae85 100644
--- a/src/login/loginlog.h
+++ b/src/login/loginlog.h
@@ -5,6 +5,7 @@
#define __LOGINLOG_H_INCLUDED__
+unsigned long loginlog_failedattempts(uint32 ip, unsigned int minutes);
void login_log(uint32 ip, const char* username, int rcode, const char* message);
bool loginlog_init(void);
bool loginlog_final(void);