From e5e7a8d49729601b62e81d28e547d3828e839b28 Mon Sep 17 00:00:00 2001 From: Jokler Date: Fri, 9 Mar 2018 14:53:33 +0100 Subject: Check NICK commands in the tell plugin --- src/plugins/tell/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/tell') 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 Plugin for Tell { 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); -- cgit v1.2.3-70-g09d2