NSYN: fix choosing of remote party.
[citadel.git] / citadel / modules / network / serv_network.c
index a100965c74bd146225638e4e9c0491e46a0ea71b..730c0452f2770a1ba31f7f31a6bc493df5e8bd45 100644 (file)
@@ -233,7 +233,7 @@ int network_sync_to(char *target_node, long len)
                        continue;
 
                extract_token(sc_node, buf, 1, '|', sizeof sc_node);
-               if (!strcasecmp(sc_node, target_node))
+               if (strcasecmp(sc_node, target_node))
                        continue;
 
                extract_token(sc_room, buf, 2, '|', sizeof sc_room);