Browse Source

websocket: use literal module name for stats group

- prevent conflicts with global exports
Daniel-Constantin Mierla 1 year ago
parent
commit
93609b53d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/websocket/websocket.c

+ 1 - 1
src/modules/websocket/websocket.c

@@ -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;
 	}