Skip to content

Commit

Permalink
websocket: 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 186ae3e commit 93609b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/websocket/websocket.c
Expand Up @@ -194,7 +194,7 @@ static int mod_init(void)
goto error;
}

if(register_module_stats(exports.name, stats) != 0) {
if(register_module_stats("websocket", stats) != 0) {
LM_ERR("registering core statistics\n");
goto error;
}
Expand Down

0 comments on commit 93609b5

Please sign in to comment.