Package: irssi-scripts
Version: 20070925
Severity: normal
Tags: patch

Hello,

some time ago the text on freenode's chatnet changed and since then the
request to register at connect time isn't detected anymore.  The patch
below fixes this problem.

Best regards
Uwe

Index: irssi-scripts-20070925+nmu1/scripts/nickserv.pl
===================================================================
--- irssi-scripts-20070925+nmu1.orig/scripts/nickserv.pl        2008-09-07 
22:35:29.000000000 +0200
+++ irssi-scripts-20070925+nmu1/scripts/nickserv.pl     2008-09-07 
22:38:21.000000000 +0200
@@ -389,7 +389,7 @@
     my ($target, $text) = $data =~ /^(\S*)\s:(.*)/;
 
     if (is_nickserv($server->{tag}, $address)) {
-        if ($text =~ /^If this is your nickname, type \/msg NickServ/ || $text 
=~ /^This nickname is registered and protected.  If it is your/) {
+        if ($text =~ /^If this is your nickname, type \/msg NickServ/ || $text 
=~ /^This nickname is registered and protected.  If it is your/ || $text =~ 
/^This nickname is registered\. Please choose a different nickname, or identify 
via /) {
             my $password = get_password($server->{tag}, $server->{nick});
             
             if ($password == -1) {


-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (300, 'testing-proposed-updates'), (300, 'testing'), (200, 
'unstable'), (2, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages irssi-scripts depends on:
ii  irssi                         0.8.12-4   terminal based IRC client

Versions of packages irssi-scripts recommends:
ii  libwww-perl                   5.813-1    WWW client/server library for Perl

Versions of packages irssi-scripts suggests:
ii  epiphany-gecko [www-browser]  2.22.3-1   Intuitive GNOME web browser - Geck
ii  iceweasel [www-browser]       3.0.1-1    lightweight web browser based on M
pn  libdbi-perl                   <none>     (no description available)
ii  net-tools                     1.60-19    The NET-3 networking toolkit
ii  perl                          5.10.0-13  Larry Wall's Practical Extraction 
ii  perl-modules                  5.10.0-13  Core Perl modules
ii  w3m [www-browser]             0.5.2-2+b1 WWW browsable pager with excellent

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to