Merge branch 'indev' of github.com:Xelhua/Auto into indev
This commit is contained in:
commit
ee1bf65766
1 file changed
+1
@@ -211,6 +211,7 @@ sub ircsock {
|
|||||||
$Auto::SOCKET{$svrname} = IO::Socket::INET->new(%conndata) or # Or error.
|
$Auto::SOCKET{$svrname} = IO::Socket::INET->new(%conndata) or # Or error.
|
||||||
err(2, 'Failed to connect to server ('.$ERRNO.'): '.$svrname.' ['.$cdata->{'host'}[0].q{:}.$cdata->{'port'}[0].']', 0)
|
err(2, 'Failed to connect to server ('.$ERRNO.'): '.$svrname.' ['.$cdata->{'host'}[0].q{:}.$cdata->{'port'}[0].']', 0)
|
||||||
and delete $Auto::SOCKET{$svrname} and next;
|
and delete $Auto::SOCKET{$svrname} and next;
|
||||||
|
binmode($Auto::SOCKET{$svrname}, ':encoding(UTF-8)');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user