summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-25 11:19:28 -0200
committershennetsind <ind@henn.et>2013-11-25 11:19:28 -0200
commit1064d8c073580fcb6a73c29a1c3c0ceb8a5df587 (patch)
tree5cc589344a3a8b6603179a15d7ec13c158e222f2 /src/common
parenta724476174cd691704a51f60e540513bae743432 (diff)
downloadhercules-1064d8c073580fcb6a73c29a1c3c0ceb8a5df587.tar.gz
hercules-1064d8c073580fcb6a73c29a1c3c0ceb8a5df587.tar.bz2
hercules-1064d8c073580fcb6a73c29a1c3c0ceb8a5df587.tar.xz
hercules-1064d8c073580fcb6a73c29a1c3c0ceb8a5df587.zip
Fixed equip_level_max handling in the sql db converter
The field is now NULL when the value is not provided, instead of MAX_LEVEL. Special Thanks to Mvmbles for bringing the issue to our attention. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/HPM.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/HPM.c b/src/common/HPM.c
index 641ffe2e6..005bc2ddc 100644
--- a/src/common/HPM.c
+++ b/src/common/HPM.c
@@ -644,6 +644,8 @@ void hplugins_share_defaults(void) {
/* libconfig (temp) */
HPM->share(config_setting_lookup_string,"config_setting_lookup_string");
HPM->share(config_setting_lookup_int,"config_setting_lookup_int");
+ HPM->share(config_setting_get_member,"config_setting_get_member");
+ HPM->share(config_setting_length,"config_setting_length");
}
void hpm_init(void) {