Bug 7779 - Using initstate(3) means that we cannot unload this module once loaded.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2006-08-22 02:59:37 +00:00
parent 4514a22df3
commit dad6bc4d32

View File

@@ -116,9 +116,8 @@ char *description(void)
int usecount(void)
{
int res;
STANDARD_USECOUNT(res);
return res;
/* Don't allow unload, since rand(3) depends upon this module being here. */
return 1;
}
char *key()