refactor(ipc): Rename signals

This commit is contained in:
Michael Carlberg
2016-12-26 10:36:14 +01:00
parent 334c454eec
commit baaba4adf9
7 changed files with 30 additions and 34 deletions

View File

@ -80,11 +80,11 @@ namespace modules {
* configured from the user config and
* execute its command
*/
void ipc_module::on_message(const ipc_hook& message) {
void ipc_module::on_message(const string& message) {
bool match = false;
for (auto&& hook : m_hooks) {
if (ipc_hook::prefix + hook->payload != message.payload) {
if (hook->payload != message) {
continue;
}