fix: shouldn't exchange tag if in same mon in exchange_two_client

This commit is contained in:
DreamMaoMao 2026-05-12 14:31:18 +08:00
parent c55787ee4e
commit 0c4139e408

View file

@ -5142,7 +5142,7 @@ exchange_common:
tmp2_next->prev = &c1->link;
}
if (config.exchange_cross_monitor) {
if (config.exchange_cross_monitor && c1->mon != c2->mon) {
DwindleNode **c1_root = &m1->pertag->dwindle_root[m1->pertag->curtag];
DwindleNode *c1node = dwindle_find_leaf(*c1_root, c1);