Package: blootbot
Severity: normal
Tags: patch

if you try to "shortAddress" the bot to retrieve a factoid contining a
>, the message will be ignored.  For instance "!sarge->etch" doesn't
while, "/msg bot sarge->etch" does.   The following patch fixes the
problem:

--- src/IRC/IrcHelpers.pl       2006-06-02 16:59:38.000000000 -0400
+++ src/IRC/IrcHelpers.pl.orig  2006-06-02 16:58:53.000000000 -0400
@@ -103,7 +103,7 @@
            }
        }
 
-       if (!$addressed && $message =~ /^($mask{nick})([\;\:\>\, ]+) */) {
+       if ($message =~ /^($mask{nick})([\;\:\>\, ]+) */) {
            my $newmessage = $';
            if ($1 =~ /^\Q$ident\E$/i) {
                $message   = $newmessage;


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


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

Reply via email to