tests: send1: fix sendto_channel_opmod (remote) to call the right function
This commit is contained in:
parent
dd3a17a0c2
commit
a53032dd70
1 changed files with 2 additions and 4 deletions
|
@ -954,10 +954,9 @@ static void sendto_channel_opmod__remote(void)
|
|||
{
|
||||
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_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_d, "Deaf; " MSG);
|
||||
is_client_sendq_empty(server, "Message source; " MSG);
|
||||
|
@ -965,10 +964,9 @@ static void sendto_channel_opmod__remote(void)
|
|||
|
||||
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_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_d, "Deaf; " MSG);
|
||||
is_client_sendq_empty(server, "Message source; " MSG);
|
||||
|
|
Loading…
Reference in a new issue