diff options
author | Haru <haru@dotalux.com> | 2018-03-11 15:26:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-11 15:26:04 +0100 |
commit | 66a6722494bd7206517730b762041a8e85061ddf (patch) | |
tree | f4a6ce7107cec749c27953f2f92909a4f929a296 | |
parent | 69377ed87bf660901b70c47f028cd228165eeef9 (diff) | |
parent | 798adfb920d19939d1aa05a15c9747f855f6e0c2 (diff) | |
download | hercules-66a6722494bd7206517730b762041a8e85061ddf.tar.gz hercules-66a6722494bd7206517730b762041a8e85061ddf.tar.bz2 hercules-66a6722494bd7206517730b762041a8e85061ddf.tar.xz hercules-66a6722494bd7206517730b762041a8e85061ddf.zip |
Merge pull request #1989 from dastgir/fix/db2sql
DB2SQL Crash Fix
-rw-r--r-- | src/map/clan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clan.c b/src/map/clan.c index 865f5a4cd..7aa9be5d4 100644 --- a/src/map/clan.c +++ b/src/map/clan.c @@ -997,10 +997,11 @@ void clan_reload(void) */ void do_init_clan(bool minimal) { + clan->db = idb_alloc(DB_OPT_RELEASE_DATA); + if (minimal) { return; } - clan->db = idb_alloc(DB_OPT_RELEASE_DATA); clan->config_read(false); timer->add_func_list(clan->inactivity_kick, "clan_inactivity_kick"); } |