diff --git a/src/plugin.c b/src/plugin.c
index 87668d7b3d321218bc49114640dbe4cd4977b518..ce4c943753526eff1889bb1600ac1d036cac3733 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
if (plugin_search (type) != NULL)
return;
+#ifdef HAVE_LIBRRD
+ if ((operating_mode == MODE_LOCAL) || (operating_mode == MODE_CLIENT))
+#endif
+ if (read == NULL)
+ syslog (LOG_NOTICE, "Plugin `%s' doesn't provide a read function.", type);
+
if ((p = (plugin_t *) malloc (sizeof (plugin_t))) == NULL)
return;