Don't attempt to execute the reload callback for a module that returned
commit78bea162a16f6d7fbb9d31ba771abb80d79e2d4c
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Fri, 15 Feb 2008 18:33:29 +0000 (15 18:33 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Fri, 15 Feb 2008 18:33:29 +0000 (15 18:33 +0000)
tree8e93bdbccd19e343f900ff220a792c2b8a42e41f
parent4bad116a36e9035185e5af9ce87a7e6f71b6b0b0
Don't attempt to execute the reload callback for a module that returned
AST_MODULE_LOAD_DECLINE.  This fixes a crash that was reported against
chan_console in trunk.

(closes issue #11953, reported by junky, fixed by me)

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103726 614ede4d-c843-0410-af14-a771ab80d22e
main/loader.c