This has to go after we init the exempt list... thanks SHD
This commit is contained in:
parent
cccff4a1b4
commit
346bb5fd41
1 changed files with 3 additions and 1 deletions
4
opsb.c
4
opsb.c
|
@ -1292,7 +1292,6 @@ int __ModInit(int modnum, int apiver)
|
||||||
/* queue can be anything we want */
|
/* queue can be anything we want */
|
||||||
opsbq = list_create(MAX_QUEUE);
|
opsbq = list_create(MAX_QUEUE);
|
||||||
|
|
||||||
LoadConfig();
|
|
||||||
|
|
||||||
/* scan cache is MAX_QUEUE size (why not?) */
|
/* scan cache is MAX_QUEUE size (why not?) */
|
||||||
cache = list_create(MAX_QUEUE);
|
cache = list_create(MAX_QUEUE);
|
||||||
|
@ -1301,6 +1300,9 @@ int __ModInit(int modnum, int apiver)
|
||||||
|
|
||||||
opsb.ports = list_create(MAX_PORTS);
|
opsb.ports = list_create(MAX_PORTS);
|
||||||
|
|
||||||
|
LoadConfig();
|
||||||
|
|
||||||
|
|
||||||
online = 0;
|
online = 0;
|
||||||
|
|
||||||
opsb.open = 0;
|
opsb.open = 0;
|
||||||
|
|
Reference in a new issue