@ -1045,7 +1046,7 @@ static int load_moh_classes(int reload)
args=strchr(data,',');
if(args)
*args++='\0';
if(!(get_mohbyname(var->name))){
if(!(get_mohbyname(var->name, 0))){
class=moh_class_malloc();
if(!class){
ast_log(LOG_WARNING,"Out of memory!\n");
@ -1070,7 +1071,7 @@ static int load_moh_classes(int reload)
ast_log(LOG_WARNING,"The old musiconhold.conf syntax has been deprecated! Please refer to the sample configuration for information on the new syntax.\n");