Your message dated Thu, 15 Dec 2005 08:17:27 +0000
with message-id <[EMAIL PROTECTED]>
and subject line fixed in 0.8.10
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Nov 2005 12:16:17 +0000
>From [EMAIL PROTECTED] Tue Nov 22 04:16:16 2005
Return-path: <[EMAIL PROTECTED]>
Received: from relay9.mail.ox.ac.uk ([163.1.2.169])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EeX4K-0004U2-Pj
        for [EMAIL PROTECTED]; Tue, 22 Nov 2005 04:16:16 -0800
Received: from smtp1.herald.ox.ac.uk ([163.1.0.247])
        by relay9.mail.ox.ac.uk with esmtp (Exim 4.54)
        id 1EeX4J-0008Ua-UC; Tue, 22 Nov 2005 12:16:15 +0000
Received: from r19.worc.ox.ac.uk ([129.67.126.19] helo=localhost.localdomain)
        by smtp1.herald.ox.ac.uk with esmtp (TLSv1:AES256-SHA:256)
        (Exim 3.36 #1)
        id 1EeX0G-0006wd-01; Tue, 22 Nov 2005 12:12:04 +0000
Received: from will by localhost.localdomain with local (Exim 4.54)
        id 1EeX4a-0001SB-EH; Tue, 22 Nov 2005 12:16:32 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Will Thompson <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: irssi-scripts: autorejoin.pl does not work (as advertised)
X-Mailer: reportbug 3.17
Date: Tue, 22 Nov 2005 12:16:32 +0000
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

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

irssi-scripts includes autorejoin.pl, which is meant to autorejoin only
those channels the user specifies. I quote from the script itself:

    # /SET autorejoin_channels #channel1 #channel2 ...

However, this does not work --- although the channel names are meant to
be space-separated, the script is written to assume that they are
separated by " ,", which would be a fairly stupid delimiter. :-)

This trivial patch fixes the typo and hence the bug:

diff --unified old/autorejoin.pl new/autorejoin.pl
--- old/autorejoin.pl   2005-11-22 12:04:36.055786440 +0000
+++ new/autorejoin.pl   2005-11-22 12:04:41.396974456 +0000
@@ -39,7 +39,7 @@
   return if ($server->{nick} ne $nick);
 
   # check if we want to autorejoin this channel
-  my @chans = split(/ ,/, Irssi::settings_get_str('autorejoin_channels'));
+  my @chans = split(/ +/, Irssi::settings_get_str('autorejoin_channels'));
   foreach my $chan (@chans) {
     if (lc($chan) eq lc($channel)) {
       channel_rejoin($server, $channel);

wjt

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages irssi-scripts depends on:
ii  irssi-text                    0.8.9-3.1  text-mode version of the irssi IRC

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

-- no debconf information

---------------------------------------
Received: (at 340287-done) by bugs.debian.org; 15 Dec 2005 08:17:28 +0000
>From [EMAIL PROTECTED] Thu Dec 15 00:17:28 2005
Return-path: <[EMAIL PROTECTED]>
Received: from light.bluelinux.co.uk ([193.201.200.221] ident=postfix)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EmoIq-0001AG-Ee
        for [EMAIL PROTECTED]; Thu, 15 Dec 2005 00:17:28 -0800
Received: from light.bluelinux.co.uk (localhost [127.0.0.1])
        by light.bluelinux.co.uk (Postfix) with ESMTP id 72627E5B321
        for <[EMAIL PROTECTED]>; Thu, 15 Dec 2005 08:17:27 +0000 (GMT)
Received: by light.bluelinux.co.uk (Postfix, from userid 2042)
        id 60A3DE5B334; Thu, 15 Dec 2005 08:17:27 +0000 (GMT)
Date: Thu, 15 Dec 2005 08:17:27 +0000
From: David Pashley <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: fixed in 0.8.10
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-AV-Checked: ClamAV using ClamSMTP
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Fixed in the new 0.8.10 upload.

-- 
David Pashley
[EMAIL PROTECTED]
Nihil curo de ista tua stulta superstitione.


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

Reply via email to