From: dondelelcaro Date: Thu, 21 Sep 2006 21:03:19 +0000 (+0000) Subject: Apply patch from stew and #370040 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3e80b587d8a517bbefd5d4d53d528a2c93aacb84;p=infobot.git Apply patch from stew and #370040 git-svn-id: https://svn.code.sf.net/p/infobot/code/branches/don/dpkg@1297 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/IRC/IrcHelpers.pl b/src/IRC/IrcHelpers.pl index b68ad32..ad5ec8b 100644 --- a/src/IRC/IrcHelpers.pl +++ b/src/IRC/IrcHelpers.pl @@ -116,7 +116,7 @@ sub hookMsg { } } - if ($message =~ /^($mask{nick})([\;\:\>\, ]+) */) { + if (!$addressed and $message =~ /^($mask{nick})([\;\:\>\, ]+) */) { my $newmessage = $'; if ($1 =~ /^\Q$mynick\E$/i) { $message = $newmessage;