summaryrefslogtreecommitdiff
path: root/src/login/ipban_sql.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-04 17:44:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-18 13:29:25 +0300
commit7603ea174c2d44cafee2b8aa833f80114c045500 (patch)
tree44d7d174116280902c171aa83309d7497f4f96a2 /src/login/ipban_sql.c
parent4ac673941714032ada6d26fb60936ec510bbe496 (diff)
downloadhercules-7603ea174c2d44cafee2b8aa833f80114c045500.tar.gz
hercules-7603ea174c2d44cafee2b8aa833f80114c045500.tar.bz2
hercules-7603ea174c2d44cafee2b8aa833f80114c045500.tar.xz
hercules-7603ea174c2d44cafee2b8aa833f80114c045500.zip
Increase sql password field size from 32 to 100 chars.
32 chars is very small for password.
Diffstat (limited to 'src/login/ipban_sql.c')
-rw-r--r--src/login/ipban_sql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/ipban_sql.c b/src/login/ipban_sql.c
index 081f28d84..82512b0f0 100644
--- a/src/login/ipban_sql.c
+++ b/src/login/ipban_sql.c
@@ -23,14 +23,14 @@
static char global_db_hostname[32] = "127.0.0.1";
static uint16 global_db_port = 3306;
static char global_db_username[32] = "ragnarok";
-static char global_db_password[32] = "ragnarok";
+static char global_db_password[100] = "ragnarok";
static char global_db_database[32] = "ragnarok";
static char global_codepage[32] = "";
// local sql settings
static char ipban_db_hostname[32] = "";
static uint16 ipban_db_port = 0;
static char ipban_db_username[32] = "";
-static char ipban_db_password[32] = "";
+static char ipban_db_password[100] = "";
static char ipban_db_database[32] = "";
static char ipban_codepage[32] = "";
static char ipban_table[32] = "ipbanlist";