diff options
| author | Jokler <jokler.contact@gmail.com> | 2018-03-09 14:53:33 +0100 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2018-03-09 14:53:33 +0100 |
| commit | e5e7a8d49729601b62e81d28e547d3828e839b28 (patch) | |
| tree | 38e698c30269406e596670c08d242e20f242cb2e /src | |
| parent | 2208ada6677b8aa4a5651fb21021049c1e59a1d4 (diff) | |
| download | frippy-e5e7a8d49729601b62e81d28e547d3828e839b28.tar.gz frippy-e5e7a8d49729601b62e81d28e547d3828e839b28.zip | |
Check NICK commands in the tell plugin
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/tell/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/tell/mod.rs b/src/plugins/tell/mod.rs index a5a7116..bdfb55c 100644 --- a/src/plugins/tell/mod.rs +++ b/src/plugins/tell/mod.rs @@ -179,6 +179,7 @@ impl<T: Database> Plugin for Tell<T> { fn execute(&self, client: &IrcClient, message: &Message) -> ExecutionStatus { let res = match message.command { Command::JOIN(_, _, _) => self.send_tells(client, message.source_nickname().unwrap()), + Command::NICK(ref nick) => self.send_tells(client, nick), Command::Response(resp, ref chan_info, _) => { if resp == Response::RPL_NAMREPLY { debug!("NAMREPLY info: {:?}", chan_info); |
