diff options
author | Till Hoeppner | 2015-06-11 22:05:06 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-06-11 22:05:06 +0200 |
commit | 17edc45c506927f48f1858e0ba67161a31708032 (patch) | |
tree | cc0953eaa5f4b8e3b2617b805b735fb0c89ee80b /src/event.rs | |
parent | bc755a4dedc520b672bc7168ff6ef9d088072d99 (diff) | |
download | ilc-17edc45c506927f48f1858e0ba67161a31708032.tar.gz ilc-17edc45c506927f48f1858e0ba67161a31708032.tar.xz ilc-17edc45c506927f48f1858e0ba67161a31708032.zip |
Implement more events for Energymech
Diffstat (limited to 'src/event.rs')
-rw-r--r-- | src/event.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs index 0ecb6bc..a1c15c2 100644 --- a/src/event.rs +++ b/src/event.rs @@ -105,7 +105,12 @@ pub enum Type<'a> { topic: Cow<'a, str>, }, TopicChange { + nick: Option<Cow<'a, str>>, new_topic: Cow<'a, str>, }, - Mode + Mode { + nick: Option<Cow<'a, str>>, + mode: Cow<'a, str>, + masks: Cow<'a, str> + } } |