aboutsummaryrefslogtreecommitdiff
path: root/src/log.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.rs')
-rw-r--r--src/log.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/log.rs b/src/log.rs
index 3079b38..1b6ed45 100644
--- a/src/log.rs
+++ b/src/log.rs
@@ -23,12 +23,21 @@ pub enum Event {
},
Join {
nick: String,
+ channel: String,
mask: String,
time: i64
},
+ Part {
+ nick: String,
+ channel: String,
+ mask: String,
+ reason: String,
+ time: i64
+ },
Quit {
nick: String,
mask: String,
+ reason: String,
time: i64
},
Nick {
@@ -48,6 +57,10 @@ pub enum Event {
time: i64
},
Topic {
+ topic: String,
+ time: i64
+ },
+ TopicChange {
new_topic: String,
time: i64
},