Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[conceal] fix missing use reported by unrealapex on irc #876

Merged
merged 1 commit into from
May 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/conceal.pl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use strict;
use warnings;

our $VERSION = '0.1'; # d975c6bb59df06d
our $VERSION = '0.2'; # e53c766132d8f3a
our %IRSSI = (
authors => 'Nei',
contact => 'Nei @ [email protected]',
Expand All @@ -11,6 +11,7 @@
license => 'ISC',
);

use Encode ();
use Irssi;
use Irssi::TextUI;
die "This script requires Irssi 1.2.0\n"
Expand All @@ -22,7 +23,7 @@
sub check_input {
my $inputline = Irssi::parse_special('$L');
if ($utf8) {
Encode::_utf8_on($inputline);

Check warning on line 26 in scripts/conceal.pl

View workflow job for this annotation

GitHub Actions / test

Private subroutine/method used
}
Irssi::gui_input_set_extent(length $inputline, '%n');
my $c = qr/^[\Q$cmdchars\E]/;
Expand Down
Loading