Added basic message handling, and fixed a bug in message parsing.
This commit is contained in:
parent
4479c59e79
commit
16f29f179a
3 changed files with 16 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue