Fix misspelling of macro args.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2010-05-26 20:04:51 +00:00
parent 77a96c5a93
commit 8999372c33
2 changed files with 5 additions and 1 deletions

View File

@@ -1443,6 +1443,10 @@ static int local_ast_moh_start(struct ast_channel *chan, const char *mclass, con
}
}
if (ast_test_flag(global_flags, MOH_CACHERTCLASSES)) {
mohclass = get_mohbyname(mohclass->name, 0);
}
if (!mohclass) {
return -1;
}