Code

core: Changed internal API to allow for per-plugin intervals.
[collectd.git] / src / threshold.c
index 342d08acae919edd72cbea74b10a6e798dc4a094..5b00b7a91196faf9560e9a524413623893a949f6 100644 (file)
@@ -1018,8 +1018,9 @@ int ut_config (oconfig_item_t *ci)
   return (status);
 } /* }}} int um_config */
 
-void module_register (void)
+void module_register (plugin_loaddata_t *data)
 {
+  PLUGIN_INIT_INTERVAL (data);
   plugin_register_complex_config ("threshold", ut_config);
 }