commit | c0eae1172d3a2c832fc72f9d7bda81d4b723bee9 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Oct 19 21:59:47 2016 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Nov 08 15:01:04 2016 -0500 |
tree | dbcb6a2522546ae61355cdc135770acf0c6fa2d4 | |
parent | bf5aa9cbf5de0642e26dd0c90cf73be1cc7182a5 [diff] [blame] |
filters/actions: Pass manager to filters/actions Change-Id: Iaf70fdd5c8cdb64237bbd1bb5f73add645fededb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/manager.cpp b/manager.cpp index 8e185ac..6c15bf0 100644 --- a/manager.cpp +++ b/manager.cpp
@@ -155,8 +155,8 @@ auto &filter = std::get<1>(args); auto &action = std::get<2>(args); - if(filter(msg)) { - action(); + if(filter(msg, *this)) { + action(*this); } }