diff options
-rw-r--r-- | lib/Bot/Flowdock/IRC.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Bot/Flowdock/IRC.pm b/lib/Bot/Flowdock/IRC.pm index d042e5f..d11fd13 100644 --- a/lib/Bot/Flowdock/IRC.pm +++ b/lib/Bot/Flowdock/IRC.pm @@ -170,6 +170,13 @@ around emoted => sub { return $self->$orig($args); }; +sub nick_change { + my $self = shift; + my ($old, $new) = @_; + + $self->_say_to_flowdock("$old is now known as $new"); +} + sub _say_to_channel { my $self = shift; my ($body, $from) = @_; |