diff src/director/director.h @ 22510:3c4348ffe0d6

director: Fix flush to kick the user also when all backends are down The user's host can't change, because there are no other hosts. So add a new parameter to force the kick anyway.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Wed, 20 Sep 2017 01:47:38 +0300
parents 3afbfedcdd31
children 3af1ba6b5248
line wrap: on
line diff
--- a/src/director/director.h	Thu Sep 14 12:50:29 2017 +0300
+++ b/src/director/director.h	Wed Sep 20 01:47:38 2017 +0300
@@ -203,7 +203,7 @@
 			       struct user *user) ATTR_NULL(3);
 void director_kill_user(struct director *dir, struct director_host *src,
 			struct user *user, struct mail_tag *tag,
-			struct mail_host *old_host);
+			struct mail_host *old_host, bool forced_kick);
 void director_move_user(struct director *dir, struct director_host *src,
 			struct director_host *orig_src,
 			unsigned int username_hash, struct mail_host *host)