summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-10 14:29:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 19:26:02 +0300
commit1f2778dbae424c1d41bdc969ab37eb20b4a64dbf (patch)
treed9714ad27fb0222f86b7dbdc826c833ebfa66b1b /src/char
parent9f785590a3a3b6e34fe698605eb858ca3ea01485 (diff)
downloadhercules-1f2778dbae424c1d41bdc969ab37eb20b4a64dbf.tar.gz
hercules-1f2778dbae424c1d41bdc969ab37eb20b4a64dbf.tar.bz2
hercules-1f2778dbae424c1d41bdc969ab37eb20b4a64dbf.tar.xz
hercules-1f2778dbae424c1d41bdc969ab37eb20b4a64dbf.zip
Add support for plugin options in char server config.
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 0dd7aaa79..3bfef8762 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -5788,6 +5788,8 @@ int char_config_read(const char* cfgName)
char_maintenance_min_group_id = atoi(w2);
} else if (strcmpi(w1, "import") == 0) {
chr->config_read(w2);
+ } else if(HPM->parseConf(w1, w2, HPCT_CHAR)) {
+ ; // handled by plugin
} else
chr->config_dispatch(w1,w2);
}