diff --git a/src/notify_email.c b/src/notify_email.c
index cd216ca2da753a2e1a2895486f706c62c280e42d..1c3890d1aa32d6bd43559d835afa5d380330df0c 100644 (file)
--- a/src/notify_email.c
+++ b/src/notify_email.c
return (0);
} /* int notify_email_notification */
-void module_register (void)
+void module_register (plugin_loaddata_t *data)
{
+ PLUGIN_INIT_INTERVAL (data);
+
plugin_register_init ("notify_email", notify_email_init);
plugin_register_shutdown ("notify_email", notify_email_shutdown);
plugin_register_config ("notify_email", notify_email_config,
config_keys, config_keys_num);
plugin_register_notification ("notify_email", notify_email_notification,
/* user_data = */ NULL);
-} /* void module_register (void) */
+} /* void module_register (plugin_loaddata_t *data) */
/* vim: set sw=2 sts=2 ts=8 et : */