use strict;
use vars qw($VERSION %IRSSI);
-$VERSION = '2.77';
+$VERSION = '2.78';
%IRSSI = (
authors => 'David Rudie',
contact => 'david@inexistent.com',
description => 'Cross-platform/architecture system information script.',
license => 'BSD',
url => 'http://www.inexistent.com/',
- changed => 'Mon Sep 01 04:20 PDT 2003',
+ changed => '2017-06-08',
bugs => 'Probably some if it cannot read /proc.'
);
my $x86_64 = 1 if $osm =~ /^x86_64$/;
-my $l26 = 1 if $osv =~ /^2\.6/;
+# linux => 2.6
+$osv =~ m/^(\d+\.\d+)/;
+my $l26 = 1 if 2.6 <=$1;
sub cmd_sysinfo {