Skip to content

Commit 7263fd1

Browse files
committed
mt2exm: avoid erroneously doing both client- and server-side processing
1 parent 47aed79 commit 7263fd1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/mt2exm.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,10 @@ static int exm_message(const ob_desc &obd, MESSAGE_CONTENT &ctnt)
335335
mode |= DELIVERY_DO_RULES;
336336
if (!g_skip_notif)
337337
mode |= DELIVERY_DO_NOTIF;
338-
if (g_twostep)
338+
if (g_twostep) {
339339
mode |= DELIVERY_TWOSTEP;
340+
mode &= ~(DELIVERY_DO_RULES | DELIVERY_DO_NOTIF);
341+
}
340342
if (g_mrautoproc)
341343
mode |= DELIVERY_MRAUTOPROC;
342344
for (auto i = 0U; i < g_repeat_iter; ++i) {

0 commit comments

Comments
 (0)