Skip to content

Commit

Permalink
app_lua: 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 352258f commit ad0f1a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/app_lua/app_lua_sr.c
Expand Up @@ -2496,6 +2496,10 @@ void lua_sr_kemi_register_libs(lua_State *L)
/* registered kemi modules */
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 ad0f1a8

Please sign in to comment.