view src/imap/cmd-noop.c @ 22656:1789bf2a1e01

director: Make sure HOST-RESET-USERS isn't used with max_moving_users=0 The reset command would just hang in that case. doveadm would never have sent this, so this is just an extra sanity check.
author Timo Sirainen <>
date Sun, 05 Nov 2017 23:51:56 +0200
parents 9a1b70452409
children cb108f786fb4
line wrap: on
line source

/* Copyright (c) 2002-2017 Dovecot authors, see the included COPYING file */

#include "imap-common.h"
#include "imap-notify.h"
#include "imap-commands.h"

bool cmd_noop(struct client_command_context *cmd)
	if (cmd->client->notify_ctx != NULL) {
		/* flush any delayed notifications now. this is mainly useful
		   for testing. */
	return cmd_sync(cmd, 0, IMAP_SYNC_FLAG_SAFE, "OK NOOP completed.");