Skip to content

Commit

Permalink
dialog: use literal module name for stats group
Browse files Browse the repository at this point in the history
- prevent conflicts with global exports
  • Loading branch information
miconda committed Nov 23, 2023
1 parent 26d5711 commit d434270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/dialog/dialog.c
Expand Up @@ -551,7 +551,7 @@ static int mod_init(void)
#ifdef STATISTICS
/* register statistics */
if(dlg_enable_stats
&& (register_module_stats(exports.name, mod_stats) != 0)) {
&& (register_module_stats("dialog", mod_stats) != 0)) {
LM_ERR("failed to register statistics\n");
return -1;
}
Expand Down

0 comments on commit d434270

Please sign in to comment.