@lnicola commented on this pull request.
pres_ev_t event;
+ /* read default expires from presence, if exists */ + int pres_default_expires = 3600; + modparam_t type = 0; + int *param = find_param_export(find_module_by_name("presence"), "default_expires", INT_PARAM, &type); + if ( param && (type == INT_PARAM) )
```suggestion if(param && type == INT_PARAM) ```