aboutsummaryrefslogtreecommitdiff
path: root/src/log.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-03-24 23:47:03 +0100
committerTill Hoeppner2015-03-24 23:47:29 +0100
commitbead9324f053957f73042b1e33905aaa73b57649 (patch)
tree27ad07702fff7f6bfcf388b93b1bd1d27ab70a84 /src/log.rs
parentd972eed6b596d415a0aa6117a05bd107dbb8a0ae (diff)
downloadilc-bead9324f053957f73042b1e33905aaa73b57649.tar.gz
ilc-bead9324f053957f73042b1e33905aaa73b57649.tar.xz
ilc-bead9324f053957f73042b1e33905aaa73b57649.zip
Partial parsing/formatting of weechat3, plus basic CLI interface
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
},