From 922264924a091564eec535c4237158b415bfddbb Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 16 Feb 2012 20:38:46 -0600 Subject: use the flowdock nick, not the full name --- lib/Bot/Flowdock/IRC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Bot/Flowdock/IRC.pm b/lib/Bot/Flowdock/IRC.pm index 18bff1d..ad0690d 100644 --- a/lib/Bot/Flowdock/IRC.pm +++ b/lib/Bot/Flowdock/IRC.pm @@ -92,7 +92,7 @@ sub connected { }); for my $user (@{ $flow->body->{users} }) { - $self->_id_map->{$user->{id}} = $user->{name}; + $self->_id_map->{$user->{id}} = $user->{nick}; } } -- cgit v1.2.3