Added send_sanick(...).

This commit is contained in:
Aaron Weiss 2014-10-29 00:47:39 -04:00
parent 803e1e8ff4
commit 8924e4e578
2 changed files with 12 additions and 7 deletions

View file

@ -13,6 +13,7 @@ pub mod conn;
pub mod data;
pub trait Bot {
fn send_sanick(&self, old_nick: &str, new_nick: &str) -> IoResult<()>;
fn send_nick(&self, nick: &str) -> IoResult<()>;
fn send_user(&self, username: &str, real_name: &str) -> IoResult<()>;
fn send_join(&self, chan: &str) -> IoResult<()>;