From 16faca9102b7f6771fb0745d5b4bc694f966fca4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Aug 2014 17:25:24 +0300 Subject: Into chat commands handlers send also event flags mask. --- src/events/inputevent.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/events/inputevent.h') diff --git a/src/events/inputevent.h b/src/events/inputevent.h index 1d750c86a..53f629a1d 100644 --- a/src/events/inputevent.h +++ b/src/events/inputevent.h @@ -51,11 +51,13 @@ struct InputEvent final mask(mask0) { } - InputEvent(const std::string &args0, ChatTab *const tab0) : + InputEvent(const std::string &args0, + ChatTab *const tab0, + const int mask0) : args(args0), tab(tab0), action(-1), - mask(0) + mask(mask0) { } const std::string args; -- cgit v1.2.3-70-g09d2