tests: send1: fix sendto_channel_opmod (remote) to call the right function

This commit is contained in:
Simon Arlott 2017-08-06 13:14:12 +01:00
parent dd3a17a0c2
commit a53032dd70
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View file

@ -954,10 +954,9 @@ static void sendto_channel_opmod__remote(void)
{ {
standard_init(); standard_init();
sendto_channel_flags(server, ALL_MEMBERS, remote_chan_p, channel, "TEST " TEST_CHANNEL " :Hello %s!", "World"); sendto_channel_opmod(server, remote_chan_p, channel, "TEST " TEST_CHANNEL " :Hello %s!", "World");
is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_o, "On channel; " MSG); is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_o, "On channel; " MSG);
is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_ov, "On channel; " MSG); is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_ov, "On channel; " MSG);
is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_v, "On channel; " MSG);
is_client_sendq_empty(local_chan_v, "Not +o; " MSG); is_client_sendq_empty(local_chan_v, "Not +o; " MSG);
is_client_sendq_empty(local_chan_d, "Deaf; " MSG); is_client_sendq_empty(local_chan_d, "Deaf; " MSG);
is_client_sendq_empty(server, "Message source; " MSG); is_client_sendq_empty(server, "Message source; " MSG);
@ -965,10 +964,9 @@ static void sendto_channel_opmod__remote(void)
standard_ids(); standard_ids();
sendto_channel_flags(server, ALL_MEMBERS, remote_chan_p, channel, "TEST " TEST_CHANNEL " :Hello %s!", "World"); sendto_channel_opmod(server, remote_chan_p, channel, "TEST " TEST_CHANNEL " :Hello %s!", "World");
is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_o, "On channel; " MSG); is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_o, "On channel; " MSG);
is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_ov, "On channel; " MSG); is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_ov, "On channel; " MSG);
is_client_sendq(":RChanPeon" TEST_ID_SUFFIX " TEST " TEST_CHANNEL " :Hello World!" CRLF, local_chan_v, "On channel; " MSG);
is_client_sendq_empty(local_chan_v, "Not +o; " MSG); is_client_sendq_empty(local_chan_v, "Not +o; " MSG);
is_client_sendq_empty(local_chan_d, "Deaf; " MSG); is_client_sendq_empty(local_chan_d, "Deaf; " MSG);
is_client_sendq_empty(server, "Message source; " MSG); is_client_sendq_empty(server, "Message source; " MSG);