Package: irssi-scripts
Version: 20100512
Severity: normal

Trying to configure nickident.pl for auto-joining restricted channels, 
which require successful authentification, fails because of a typo in 
nickident's parsing of ircd responses:

                } elsif ($text =~ /Password accepted - you are now recognized/ 
||
                         $text =~ /Wow, you managed to remember your password.  
That's a miracle by your usual standard./ ||
                         $text =~ /You are sucessfully identified as/ ) {
                        Irssi::print("$name: Got a positive response from 
$nick/" . $server->{'tag'});
                        join_channels($server);
                        Irssi::signal_stop();
                }

which prevents join_channels($server); from being called for oftc, the 
following patch fixes the problem for me:

Signed-off-by: Stefan Lippers-Hollmann <s....@gmx.de>

diff -Nrup a/scripts/nickident.pl b/scripts/nickident.pl
--- a/scripts/nickident.pl
+++ b/scripts/nickident.pl
@@ -93,7 +93,7 @@ sub got_nickserv_msg {
                        Irssi::signal_stop();
                } elsif ($text =~ /Password accepted - you are now recognized/ 
||
                         $text =~ /Wow, you managed to remember your password.  
That's a miracle by your usual standard./ ||
-                        $text =~ /You are sucessfully identified as/ ) {
+                        $text =~ /You are successfully identified as/ ) {
                        Irssi::print("$name: Got a positive response from 
$nick/" . $server->{'tag'});
                        join_channels($server);
                        Irssi::signal_stop();


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-2.slh.2-sidux-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages irssi-scripts depends on:
ii  irssi                         0.8.15-1   terminal based IRC client

Versions of packages irssi-scripts recommends:
ii  libwww-perl                   5.836-1    Perl HTTP/WWW client/server librar

Versions of packages irssi-scripts suggests:
ii  iceweasel [www-brow 3.5.11-1             Web browser based on Firefox
ii  konqueror [www-brow 4:4.4.5-1            advanced file manager, web browser
ii  libdbi-perl         1.612-1              Perl Database Interface (DBI)
ii  lynx-cur [www-brows 2.8.8dev.4-3         Text-mode WWW Browser with NLS sup
ii  midori [www-browser 0.2.4-3              fast, lightweight graphical web br
ii  net-tools           1.60-23              The NET-3 networking toolkit
ii  perl                5.10.1-14            Larry Wall's Practical Extraction
ii  perl-modules        5.10.1-14            Core Perl modules
ii  rekonq [www-browser 0.5.0-1              KDE web browser based on Webkit

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to