Changed example in README to use toml instead of json.

This commit is contained in:
Aaron Weiss 2017-12-30 13:06:47 -05:00
parent 321bbec7ad
commit 172e55b623
No known key found for this signature in database
GPG key ID: 047D32DF25DC22EF

View file

@ -61,7 +61,7 @@ extern crate irc;
use irc::client::prelude::*;
fn main() {
let server = IrcServer::new("config.json").unwrap();
let server = IrcServer::new("config.toml").unwrap();
server.identify().unwrap();
server.for_each_incoming(|message| {
// Do message processing.