Skip to content
Browse files

Remove autodie, not supported in lenny

  • Loading branch information...
1 parent f2fcbde commit 600a5807a1d0c9a907a42614500ed013353946f6 @mxey mxey committed Oct 18, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 happyman
View
4 happyman
@@ -16,7 +16,6 @@
use strict;
use warnings;
use 5.10.0;
-use autodie qw(:all);
use AnyEvent::Handle;
use AnyEvent::IRC::Client;
use AnyEvent::Socket;
@@ -67,7 +66,8 @@ my $irc = new AnyEvent::IRC::Client;
sub announce {
my($host, $handle, $line) = @_;
- $irc->send_chan($Config->{channel}, 'PRIVMSG', $Config->{channel}, $line);
+ $irc->send_chan($Config->{channel}, 'PRIVMSG', $Config->{channel}, "$line
+ [$host]");
log_info("$host - Message: $line");
$handle->push_read(line => sub {
announce($host, @_);

0 comments on commit 600a580

Please sign in to comment.
Something went wrong with that request. Please try again.