Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37788481
en ru br
Репозитории ALT
S:1.2.2-alt1
5.1: 0.8.15-alt0.M50P.1
4.1: 0.8.12-alt4.M41.1
4.0: 0.8.12-alt4.M40.1
3.0: 0.8.10-alt0.4
www.altlinux.org/Changes

Группа :: Сети/IRC
Пакет: irssi

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: irssi-1.2.0-alt-strict-subs-syntax.patch
Скачать


diff --git a/scripts/autoop.pl b/scripts/autoop.pl
index b72def15..ee6de4b8 100644
--- a/scripts/autoop.pl
+++ b/scripts/autoop.pl
@@ -91,7 +91,7 @@ Irssi::command_bind('autoop', 'cmd_autoop');
 Irssi::signal_add_last('massjoin', 'event_massjoin');
 
 sub load_autoops {
-    my($file) = Irssi::get_irssi_dir."/autoop";
+    my($file) = Irssi::get_irssi_dir()."/autoop";
     my($count) = 0;
     local(*CONF);
     
@@ -112,7 +112,7 @@ sub load_autoops {
 
 sub save_autoops {
     my($auto) = @_;
-    my($file) = Irssi::get_irssi_dir."/autoop";
+    my($file) = Irssi::get_irssi_dir()."/autoop";
     my($count) = 0;
     my($channel) = "";
     local(*CONF);
diff --git a/scripts/dns.pl b/scripts/dns.pl
index 9e9f4789..b5ba1056 100644
--- a/scripts/dns.pl
+++ b/scripts/dns.pl
@@ -175,7 +175,7 @@ sub host_lookup {
     # parent, wait for reply
     close($wh);
     Irssi::pidwait_add($pid);
-    $pipe_tag = Irssi::input_add(fileno($rh), INPUT_READ, \&pipe_input, $rh);
+    $pipe_tag = Irssi::input_add(fileno($rh), INPUT_READ(), \&pipe_input, $rh);
     return;
   }
 
diff --git a/scripts/scriptassist.pl b/scripts/scriptassist.pl
index 68708945..2dfc55be 100644
--- a/scripts/scriptassist.pl
+++ b/scripts/scriptassist.pl
@@ -114,7 +114,7 @@ sub bg_do {
         Irssi::pidwait_add($pid);
         my $pipetag;
         my @args = ($rh, \$pipetag, $func);
-        $pipetag = Irssi::input_add(fileno($rh), INPUT_READ, \&pipe_input, \@args);
+        $pipetag = Irssi::input_add(fileno($rh), INPUT_READ(), \&pipe_input, \@args);
     } else {
 	eval {
 	    my @items = split(/ /, $func);
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin