summaryrefslogtreecommitdiff
path: root/src/events/inputevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/inputevent.h')
-rw-r--r--src/events/inputevent.h6
1 files changed, 4 insertions, 2 deletions
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;