mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
run syncscripts.sh
sync buf.pl to version 3.00 sync usercount.pl to version 1.20
This commit is contained in:
parent
2847b751e3
commit
60d2364989
2 changed files with 60 additions and 63 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue