Provide a little more protection to make sure that a MOH class is specified when...
authorBJ Weschke <bweschke@btwtech.com>
Sun, 3 Sep 2006 21:26:04 +0000 (21:26 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Sun, 3 Sep 2006 21:26:04 +0000 (21:26 +0000)
commitffd9281db9493acb53e79240a5bcac188531e44a
treebb2493b94a19eedb26916b40560eec04c353d9ea
parentbbc9c049abbbf031e4836d8822bb4420f43b3211
 Provide a little more protection to make sure that a MOH class is specified when using the 'm' option with WaitExten, and prevent a segfault in the process.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c