Mercurial > irccd
diff tests/src/irccdctl/cli-rule-move/main.cpp @ 841:1399755352e7
irccd: use appropriate function names in bot
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 14 Jun 2019 20:53:00 +0200 |
parents | 06cc2f95f479 |
children | eac2cc421f49 |
line wrap: on
line diff
--- a/tests/src/irccdctl/cli-rule-move/main.cpp Tue Apr 30 13:49:11 2019 +0200 +++ b/tests/src/irccdctl/cli-rule-move/main.cpp Fri Jun 14 20:53:00 2019 +0200 @@ -34,7 +34,7 @@ rule_move_fixture() : cli_fixture(IRCCDCTL_EXECUTABLE) { - bot_.rules().add({ + bot_.get_rules().add({ { "s1" }, { "c1" }, { "o1" }, @@ -42,7 +42,7 @@ { "onTopic" }, rule::action_type::accept }); - bot_.rules().add({ + bot_.get_rules().add({ { "s2" }, { "c2" }, { "o2" }, @@ -50,7 +50,7 @@ { "onCommand" }, rule::action_type::drop }); - bot_.rules().add({ + bot_.get_rules().add({ { "s3" }, { "c3" }, { "o3" },