Skip to content

Commit

Permalink
app_python: skip registering KSR.pv from global list
Browse files Browse the repository at this point in the history
- for now is still done with the custom functions from the module
  • Loading branch information
miconda committed May 22, 2019
1 parent ad0f1a8 commit d057876
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/app_python/apy_kemi.c
Expand Up @@ -2306,6 +2306,10 @@ int sr_apy_init_ksr(void)

if(emods_size>1) {
for(k=1; k<emods_size; k++) {
if(emods[k].kexp == sr_kemi_exports_get_pv()) {
LM_DBG("skip registering the core KSR.pv module\n");
continue;
}
n++;
_sr_crt_KSRMethods = _sr_KSRMethods + n;
snprintf(mname, 128, "KSR.%s", emods[k].kexp[0].mname.s);
Expand Down

0 comments on commit d057876

Please sign in to comment.