diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-10 15:16:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 19:26:02 +0300 |
commit | 0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7 (patch) | |
tree | 8a243a3a667c0ac1086ada67aae76b14fcfddce5 /src/char/char.c | |
parent | 1f2778dbae424c1d41bdc969ab37eb20b4a64dbf (diff) | |
download | hercules-0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7.tar.gz hercules-0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7.tar.bz2 hercules-0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7.tar.xz hercules-0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7.zip |
Add support for plugin options in char server config (inter-server.conf).
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index 3bfef8762..bf6019ad5 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -5604,10 +5604,11 @@ void char_sql_config_read(const char* cfgName) safestrncpy(acc_reg_str_db, w2, sizeof(acc_reg_str_db)); else if(!strcmpi(w1,"acc_reg_num_db")) safestrncpy(acc_reg_num_db, w2, sizeof(acc_reg_num_db)); - //support the import command, just like any other config else if(!strcmpi(w1,"import")) chr->sql_config_read(w2); + else + HPM->parseConf(w1, w2, HPCT_CHAR_INTER); } fclose(fp); ShowInfo("Done reading %s.\n", cfgName); |