From 8afbd6511c095319406a37df16345ebb3d2f1449 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Sat, 15 Apr 2023 14:08:31 +0000 Subject: [PATCH] Merge pull request #1467 from ScoreUnder/perl_warning_to_stderr Print perl import warning to STDERR (cherry picked from commit e732b601f7edd24b268051a8b6d62b8c7f1d9c82) --- src/perl/common/Irssi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/perl/common/Irssi.pm b/src/perl/common/Irssi.pm index 786d0e52..bca0084b 100644 --- a/src/perl/common/Irssi.pm +++ b/src/perl/common/Irssi.pm @@ -153,7 +153,7 @@ eval { $in_irssi = $@ ? 0 : 1; if (!in_irssi()) { - print "Warning: This script should be run inside irssi\n"; + print STDERR "Warning: This script should be run inside irssi\n"; } else { bootstrap Irssi $VERSION if (!$static);