Added basic message handling, and fixed a bug in message parsing.

This commit is contained in:
Aaron Weiss 2014-11-03 02:54:40 -05:00
parent 4479c59e79
commit 16f29f179a
3 changed files with 16 additions and 4 deletions

View file

@ -21,6 +21,6 @@ fn main() {
let server = IrcServer::from_config(config).unwrap();
identify(&server).unwrap();
for message in server.iter() {
println!("{}", message.into_string())
println!("{}", message);
}
}