run syncscripts.sh

sync buf.pl to version 3.00
sync usercount.pl to version 1.20
This commit is contained in:
ailin-nemui 2018-11-09 11:11:10 +01:00
commit 60d2364989
2 changed files with 60 additions and 63 deletions

View file

@ -1,7 +1,7 @@
use strict;
use Irssi 20040119.2359 ();
use vars qw($VERSION %IRSSI);
$VERSION = "1.19";
$VERSION = "1.20";
%IRSSI = (
authors => 'David Leadbeater, Timo Sirainen, Georg Lukas',
contact => 'dgl@dgl.cx, tss@iki.fi, georg@boerde.de',
@ -128,7 +128,7 @@ sub calc_users() {
}
# Server doesn't support halfops?
if($server->isupport("PREFIX") !~ /\%/) {
if($server->can('isupport') && $server->isupport("PREFIX") !~ /\%/) {
$halfops = undef;
} else {
$halfops = undef unless Irssi::settings_get_bool('usercount_show_halfops');