aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs7
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>
+ }
}