diff --git a/src/lib-sieve/plugins/enotify/cmd-notify.c b/src/lib-sieve/plugins/enotify/cmd-notify.c
index e731dbbd5e1a845add8fccbac22d4c21d235968d..74b9de0a28e9a9c1ed819d40ada494f392f29b7e 100644
--- a/src/lib-sieve/plugins/enotify/cmd-notify.c
+++ b/src/lib-sieve/plugins/enotify/cmd-notify.c
@@ -139,9 +139,9 @@ const struct sieve_operation notify_operation = {
 /* Forward declarations */
 
 static int act_notify_check_duplicate
-	(const struct sieve_runtime_env *renv, const struct sieve_action *action1,
-    	void *context1, void *context2, 
-		const char *location1, const char *location2);
+	(const struct sieve_runtime_env *renv, 
+		const struct sieve_action_data *act,
+		const struct sieve_action_data *act_other);
 static void act_notify_print
 	(const struct sieve_action *action, const struct sieve_result_print_env *rpenv,
 		void *context, bool *keep);	
@@ -527,13 +527,12 @@ static int cmd_notify_operation_execute
 /* Runtime verification */
 
 static int act_notify_check_duplicate
-(const struct sieve_runtime_env *renv ATTR_UNUSED,
-	const struct sieve_action *action1 ATTR_UNUSED,
-	void *context1 ATTR_UNUSED, void *context2 ATTR_UNUSED,
-	const char *location1 ATTR_UNUSED, const char *location2 ATTR_UNUSED)
+(const struct sieve_runtime_env *renv ATTR_UNUSED, 
+	const struct sieve_action_data *act ATTR_UNUSED,
+	const struct sieve_action_data *act_other ATTR_UNUSED)
 {
 	/* No problems yet */
-	return 1;
+	return 0;
 }
 
 /* Result printing */