update to new core module exclusion API
This commit is contained in:
parent
997bd647eb
commit
816f56fbd0
1 changed files with 2 additions and 2 deletions
4
opsb.c
4
opsb.c
|
@ -447,9 +447,9 @@ int checkcache(scaninfo *scandata)
|
|||
cache_entry *ce;
|
||||
|
||||
SET_SEGV_LOCATION();
|
||||
if (scandata->server && ModIsServerExcluded (scandata->who, scandata->server))
|
||||
if (scandata->server && ModIsServerExcluded (find_server(scandata->server)))
|
||||
return 1;
|
||||
if (ModIsUserExcluded (scandata->who, scandata->lookup))
|
||||
if (ModIsUserExcluded (find_user(scandata->who)))
|
||||
return 2;
|
||||
node = list_first(cache);
|
||||
while (node) {
|
||||
|
|
Reference in a new issue