aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTill Hoeppner2015-07-26 15:56:08 +0200
committerTill Hoeppner2015-07-26 15:56:08 +0200
commit6a817022a7301d89a2d93be400294f78b5dae0b4 (patch)
treea4e3dfd6d35fcd15705f4569ac08649dc0b6482c /src
parent555fe9853cf5fcefbca4f0e249927f0102818674 (diff)
downloadilc-6a817022a7301d89a2d93be400294f78b5dae0b4.tar.gz
ilc-6a817022a7301d89a2d93be400294f78b5dae0b4.tar.xz
ilc-6a817022a7301d89a2d93be400294f78b5dae0b4.zip
Use existing context, instead of mock context for freq
Diffstat (limited to 'src')
-rw-r--r--src/main.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs
index 8a8f289..a566087 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -161,11 +161,6 @@ fn main() {
let stdin = io::stdin();
let mut stats: HashMap<String, Person> = HashMap::new();
- let context = Context {
- timezone: FixedOffset::west(0),
- override_date: Some(NaiveDate::from_ymd(2015, 6, 10)),
- channel: Some("#code".to_owned())
- };
let mut parser = format::weechat3::Weechat3;
for e in parser.decode(&context, stdin.lock()) {