X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/67eb91cd2fafdf89ba670706e684ab0cd74ae513..b3139bf3f37b3b0244efea8b4b5e5a7d0bc90095:/include/stg/user_property.h diff --git a/include/stg/user_property.h b/include/stg/user_property.h index 7c0f4da1..398c4579 100644 --- a/include/stg/user_property.h +++ b/include/stg/user_property.h @@ -19,6 +19,7 @@ $Author: faust $ #include "stg/logger.h" #include "stg/locker.h" #include "stg/scriptexecuter.h" +#include "stg/common.h" #include "store.h" #include "admin.h" @@ -288,7 +289,7 @@ USER_PROPERTY_LOGGED::USER_PROPERTY_LOGGED(varT & val, name(n), scriptsDir(sd) { -properties.insert(std::make_pair(name, this)); +properties.insert(std::make_pair(ToLower(name), this)); } //------------------------------------------------------------------------- template