Changed example in README to use toml instead of json.
This commit is contained in:
parent
321bbec7ad
commit
172e55b623
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue